[pal-cvs 2672] [404] add dbflute foreign key

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2007年 7月 28日 (土) 04:01:17 JST


Revision: 404
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=404
Author:   takeharu
Date:     2007-07-28 04:01:16 +0900 (Sat, 28 Jul 2007)

Log Message:
-----------
add dbflute foreign key 

Modified Paths:
--------------
    pompei/portlets/pompei-core/trunk/dbflute/build-pompei.properties


-------------- next part --------------
Modified: pompei/portlets/pompei-core/trunk/dbflute/build-pompei.properties
===================================================================
--- pompei/portlets/pompei-core/trunk/dbflute/build-pompei.properties	2007-07-27 18:59:49 UTC (rev 403)
+++ pompei/portlets/pompei-core/trunk/dbflute/build-pompei.properties	2007-07-27 19:01:16 UTC (rev 404)
@@ -72,7 +72,7 @@
 #    packageBase: (Default '')
 #      The base directory of package.
 #
-#      *If this property is specified and other package properties is not specified, 
+#      *If this property is specified and other package properties is not specified,
 #       Then The packages of generated class are as follows:
 #
 #        ex) packageBase = org.seasar.dbflute.example.dbflute.ldb
@@ -120,7 +120,7 @@
 
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 # [Database Informaition]
-# 
+#
 #   * * * * * * * * * * * * * * * * * * * * * * * * *
 #   You shuold use './dfprop/databaseInfoMap.dfprop'
 #   Look the file!
@@ -148,9 +148,25 @@
 # *Apache Derby does not support Sequence-Object.
 #  But I want to test this property.
 #
-torque.sequenceDefinitionMap	= map:{	\
-		prodcts	= PRODUCTS_PRODUCTS_ID_INC	\
-	}
+#torque.sequenceDefinitionMap	= map:{	\
+#		prodcts	= PRODUCTS_PRODUCTS_ID_INC	\
+#	}
 
 #torque.sequenceReturnType		=	java.lang.Integer
+# [Additional ForeignKey]
+torque.additionalForeignKeyMap = map:{ \
+  fkCusToAddres = map:{ \
+  localTableName = CUSTOMERS; \
+  localColumnName = CUSTOMERS_DEFAULT_ADDRESS_ID; \
+  foreignTableName = ADDRESS_BOOK; \
+  foreignColumnName = ADDRESS_BOOK_ID \
+} \
+ ;fkOrderToStatus = map:{ \
+  localTableName = ORDERS; \
+  localColumnName = ORDERS_STATUS_ID; \
+  foreignTableName = ORDERS_STATUS; \
+  foreignColumnName = ORDERS_STATUS_ID \
+} \
+}
 
+


pal-cvs メーリングリストの案内
Back to archive index