svnno****@sourc*****
svnno****@sourc*****
2007年 7月 28日 (土) 04:03:55 JST
Revision: 406 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=406 Author: takeharu Date: 2007-07-28 04:03:54 +0900 (Sat, 28 Jul 2007) Log Message: ----------- add dbflute foreign key Modified Paths: -------------- pompei/portlets/pompei-core/trunk/mydbflute/dbflute-0.5.2/build.properties -------------- next part -------------- Modified: pompei/portlets/pompei-core/trunk/mydbflute/dbflute-0.5.2/build.properties =================================================================== --- pompei/portlets/pompei-core/trunk/mydbflute/dbflute-0.5.2/build.properties 2007-07-27 19:02:53 UTC (rev 405) +++ pompei/portlets/pompei-core/trunk/mydbflute/dbflute-0.5.2/build.properties 2007-07-27 19:03:54 UTC (rev 406) @@ -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 \ +} \ +} +