[Jiemamy-notify:1363] commit [2613] sample. xmlとの差異を修正。

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 2月 4日 (水) 02:36:14 JST


Revision: 2613
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2613
Author:   daisuke_m
Date:     2009-02-04 02:36:14 +0900 (Wed, 04 Feb 2009)

Log Message:
-----------
sample.xmlとの差異を修正。

Modified Paths:
--------------
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/test/TestModelBuilder.java


-------------- next part --------------
Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/test/TestModelBuilder.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/test/TestModelBuilder.java	2009-02-03 17:13:06 UTC (rev 2612)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/test/TestModelBuilder.java	2009-02-03 17:36:14 UTC (rev 2613)
@@ -336,6 +336,7 @@
 		fkEmpEmp.setOnDelete(ReferentialAction.SET_NULL);
 		Deferrability deferrability =
 				factory.newModel(Deferrability.class, uuid.get("9af096ba-8841-41ba-9dd4-02628b800bf0"));
+		deferrability.setDeferrable(true);
 		deferrability.setInitiallyCheckTime(InitiallyCheckTime.DEFERRED);
 		fkEmpEmp.setDeferrability(deferrability);
 		tableEmp.getAttributes().add(fkEmpEmp);
@@ -408,7 +409,7 @@
 		RecordUtil.addValue(record, empId, "3");
 		RecordUtil.addValue(record, empEmpNo, "30");
 		RecordUtil.addValue(record, empEmpName, "WARD");
-		RecordUtil.addValue(record, empMgrId, null);
+//		RecordUtil.addValue(record, empMgrId, null);
 		RecordUtil.addValue(record, empHiredate, "1993-12-05");
 		RecordUtil.addValue(record, empSal, "60");
 		RecordUtil.addValue(record, empDeptId, "4");
@@ -528,7 +529,7 @@
 		RecordUtil.addValue(record, empId, "3");
 		RecordUtil.addValue(record, empEmpNo, "30");
 		RecordUtil.addValue(record, empEmpName, "村瀬 武彦");
-		RecordUtil.addValue(record, empMgrId, null);
+//		RecordUtil.addValue(record, empMgrId, null);
 		RecordUtil.addValue(record, empHiredate, "1993-12-05");
 		RecordUtil.addValue(record, empSal, "60");
 		RecordUtil.addValue(record, empDeptId, "4");
@@ -683,7 +684,7 @@
 		
 		empHiredate = factory.newModel(ColumnModel.class, uuid.get("f0b57eed-98ab-4c21-9855-218c592814dc"));
 		empHiredate.setName("HIREDATE");
-		empHiredate.setDataType(new DataTypeBuilder(factory, Types.TIMESTAMP, "TIMESTAMP").build());
+		empHiredate.setDataType(new DataTypeBuilder(factory, Types.DATE, "DATE").build());
 		tableEmp.getAttributes().add(empHiredate);
 		
 		empSal = factory.newModel(ColumnModel.class, uuid.get("80786549-dc2c-4c1c-bcbd-9f6fdec911d2"));



Jiemamy-notify メーリングリストの案内
アーカイブの一覧に戻る