[Jiemamy-notify:1976] commit [3134] 不要なパッケージを削除しました。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 4月 6日 (月) 15:43:49 JST


Revision: 3134
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=3134
Author:   j5ik2o
Date:     2009-04-06 15:43:48 +0900 (Mon, 06 Apr 2009)

Log Message:
-----------
不要なパッケージを削除しました。

Modified Paths:
--------------
    charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java

Removed Paths:
-------------
    charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/exception/


-------------- next part --------------
Modified: charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java
===================================================================
--- charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java	2009-04-05 18:50:43 UTC (rev 3133)
+++ charon/jiemamy-jpa-importer/trunk/src/main/java/org/jiemamy/composer/importer/JpaImporter.java	2009-04-06 06:43:48 UTC (rev 3134)
@@ -38,7 +38,6 @@
 import org.jiemamy.composer.importer.utils.ClassUtil;
 import org.jiemamy.composer.importer.utils.CollectionsUtil;
 import org.jiemamy.model.RootModel;
-import org.jiemamy.model.datatype.DomainModel;
 import org.jiemamy.model.entity.TableModel;
 import org.jiemamy.utils.LogMarker;
 
@@ -83,14 +82,12 @@
 		
 		try {
 			Jiemamy jiemamy = rootModel.getJiemamy();
-			DomainModel dm = jiemamy.getFactory().newModel(DomainModel.class);
-			rootModel.getDomains().add(dm);
 			List<EntityMeta> entityMetas = entityMetaReader.read();
 			for (EntityMeta em : entityMetas) {
 				LOG.debug(LogMarker.DETAIL, em.toString());
 				TableModel tm = jiemamy.getFactory().newModel(TableModel.class);
 				tm.setName(em.getName());
-				
+				rootModel.getEntities().add(tm);
 			}
 		} catch (IOException e) {
 			throw new ImportException(e);



Jiemamy-notify メーリングリストの案内
Back to archive index