1 # =======================================================================================
\r
5 # -------------------------------------------------------------------
\r
7 # -------------------------------------------------------------------
\r
10 torque.project = ldb
\r
12 # -------------------------------------------------------------------
\r
13 # T A R G E T D A T A B A S E
\r
14 # -------------------------------------------------------------------
\r
15 # This is the target database, only considered when generating
\r
16 # the SQL for your Torque project. Your possible choices are:
\r
18 # axion, cloudscape, db2, db2400, hypersonic, interbase, mssql,
\r
19 # mysql, oracle, postgresql, sapdb, sybase, firebird, derby
\r
20 # -------------------------------------------------------------------
\r
23 torque.database = derby
\r
25 # -------------------------------------------------------------------
\r
26 # T A R G E T L A N G U A G E
\r
27 # -------------------------------------------------------------------
\r
29 # The target language. Your possible choices are:
\r
31 # -------------------------------------------------------------------
\r
33 #torque.targetLanguage = java
\r
34 #torque.targetLanguageVersion = 6.0
\r
36 # -------------------------------------------------------------------
\r
37 # T E M P L A T E E N C O D I N G
\r
38 # -------------------------------------------------------------------
\r
40 # The encoding of Velocity template file.
\r
41 # -------------------------------------------------------------------
\r
42 #torque.templateFileEncoding = UTF-8
\r
44 # -------------------------------------------------------------------
\r
45 # S O U R C E F I L E E N C O D I N G
\r
46 # -------------------------------------------------------------------
\r
48 # The encoding of source file.
\r
49 # -------------------------------------------------------------------
\r
50 #torque.sourceFileEncoding = UTF-8
\r
54 # ========================================================================================
\r
58 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
61 # /---------------------------------------------------------------------------
\r
62 # [Output Directory]
\r
63 # java.dir: (Default Java:'../src/main/java' CSharp:'../source')
\r
64 # The base output directory.
\r
66 # *Java Project Style
\r
67 # If this value is '../src/main/java' and your project type is under maven,
\r
68 # you don't need to set up this property!
\r
72 # |-dbflute_[project]
\r
73 # | |-build-[project].properties
\r
76 # |-src/main/java // *Here!
\r
77 # |-src/main/resources
\r
80 # *CSharp Project Style
\r
81 # [app-solution]/dbflute_[project]/build-[project].properties
\r
82 # [app-solution]/mydbflute/dbflute-0.6.0
\r
83 # [app-solution]/source/[app-solution].sln
\r
84 # [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/AllCommon
\r
85 # [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/BsBhv
\r
86 # [app-solution]/source/[app-project(top-namespace)]/[part-namespace]/...
\r
87 # [app-solution]/source/[app-project(top-namespace)]/Resources/DBFlute.dicon
\r
88 # [app-solution]/source/[app-project(top-namespace)]/Resources/Ado.dicon
\r
91 #torque.java.dir = ../src/main/java
\r
94 # /---------------------------------------------------------------------------
\r
96 # classAuthor: (Default 'DBFlute(AutoGenerator)')
\r
97 # The value of the author tag in class javadoc.
\r
98 # All classes are target.
\r
100 #torque.classAuthor = DBFlute(AutoGenerator)
\r
101 # ----------------/
\r
103 # /---------------------------------------------------------------------------
\r
105 # isJavaNameOfTableSameAsDbName: (Default 'false')
\r
107 # Java name of table is same as db name.
\r
108 # ex) If the table name is 'OrderDetail', then the java name is 'OrderDetail'.
\r
111 # ex) If the table name is 'ORDER_DETAIL', then the java name is 'OrderDetail'.
\r
112 # ex) If the table name is 'OrderDetail', then the java name is 'Orderdetail'.
\r
114 # isJavaNameOfColumnSameAsDbName: (Default 'false')
\r
116 # Java name of column is same as db name.
\r
117 # ex) If the table name is 'OrderDetail', then the java name is 'OrderDetail'.
\r
120 # ex) If the table name is 'ORDER_DETAIL', then the java name is 'OrderDetail'.
\r
121 # ex) If the table name is 'OrderDetail', then the java name is 'Orderdetail'.
\r
124 #torque.isJavaNameOfTableSameAsDbName = false
\r
127 #torque.isJavaNameOfColumnSameAsDbName = false
\r
128 # ----------------/
\r
130 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
133 # /---------------------------------------------------------------------------
\r
134 # [PrefixAndSuffix]
\r
135 # projectPrefix: (Default null)
\r
136 # If the property is 'Ld', all class names are 'LdXxx'.
\r
139 torque.projectPrefix = Ld
\r
140 # ----------------/
\r
142 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
145 # /---------------------------------------------------------------------------
\r
146 # [Dicon Basic Information]
\r
147 # dbfluteDiconNamespace: (Default Java:'dbflute' CSharp:'DBFlute')
\r
148 # The namespace of dbflute dicon.
\r
150 # dbfluteDiconPackageName: (Default Java:'../resources' CSharp:'../source/${topNamespace}/Resources')
\r
151 # The package name of dbflute dicon.
\r
153 # dbfluteDiconFileName: (Default Java:'dbflute.dicon' CSharp:'DBFlute.dicon')
\r
154 # The file name of dbflute dicon. (Required)
\r
156 # j2eeDiconResourceName: (Default Java:'j2ee.dicon' CSharp:'Ado.dicon')
\r
157 # The resource name of J2EE dicon.
\r
160 # It is necessary that main dicon of application includes dbflute dicon.
\r
161 # ex) App dicon includes dbflute dicon.
\r
164 #torque.dbfluteDiconNamespace = dbflute
\r
165 #torque.dbfluteDiconPackageName = ../resources
\r
166 #torque.dbfluteDiconFileName = dbflute.dicon
\r
167 torque.j2eeDiconResourceName = j2ee-ldb.dicon
\r
168 # ----------------/
\r
170 # /---------------------------------------------------------------------------
\r
171 # [Dicon Adjustment Information]
\r
173 # dbfluteDiconBeforeJ2eeIncludeDefinitionMap: (Default 'map:{}')
\r
174 # The definition map of dbflute dicon include path before j2ee including.
\r
175 # ex) map:{ dbflute/jdbc-xxx.dicon = dummy }
\r
177 # dbfluteDiconOtherIncludeDefinitionMap: (Default 'map:{}')
\r
178 # The definition map of dbflute dicon other include path.
\r
179 # ex) map:{ dbflute/common.dicon = dummy }
\r
182 #torque.dbfluteDiconBeforeJ2eeIncludeDefinitionMap = map:{}
\r
183 #torque.dbfluteDiconOtherIncludeDefinitionMap = map:{}
\r
184 # ----------------/
\r
186 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
189 # /---------------------------------------------------------------------------
\r
190 # [EntityDao Package]
\r
191 # packageBase: (Default '')
\r
192 # The base directory of package.
\r
194 # *If this property is specified and other package properties is not specified,
\r
195 # Then The packages of generated class are as follows:
\r
197 # ex) packageBase = org.seasar.dbflute.example.dbflute.ldb
\r
198 # baseCommonPackage --> org.seasar.dbflute.example.dbflute.ldb.allcommon
\r
199 # baseBehaviorPackage --> org.seasar.dbflute.example.dbflute.ldb.bsbhv
\r
200 # baseDaoPackage --> org.seasar.dbflute.example.dbflute.ldb.bsdao
\r
201 # baseEntityPackage --> org.seasar.dbflute.example.dbflute.ldb.bsentity
\r
202 # conditionBeanPackage --> org.seasar.dbflute.example.dbflute.ldb.cbean
\r
203 # extendedBehaviorPackage --> org.seasar.dbflute.example.dbflute.ldb.exbhv
\r
204 # extendedDaoPackage --> org.seasar.dbflute.example.dbflute.ldb.exdao
\r
205 # extendedEntityPackage --> org.seasar.dbflute.example.dbflute.ldb.exentity
\r
207 # *If this property is not specified, you should specify the other package properties.
\r
210 # baseCommonPackage: (Default Java:'allcommon' C#:'allcommon')
\r
211 # baseBehaviorPackage: (Default Java:'bsbhv' C#:'bsbhv')
\r
212 # baseDaoPackage: (Default Java:'bsdao' C#:'bsdao')
\r
213 # baseEntityPackage: (Default Java:'bsentity' C#:'bsentity')
\r
214 # conditionBeanPackage: (Default Java:'cbean' C#:'cbean')
\r
215 # extendedBehaviorPackage: (Default Java:'exbhv' C#:'exbhv')
\r
216 # extendedDaoPackage: (Default Java:'exdao' C#:'exdao')
\r
217 # extendedEntityPackage: (Default Java:'exentity' C#:'exentity')
\r
220 torque.packageBase = dbflute.ldb
\r
221 # ----------------/
\r
223 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
226 # /---------------------------------------------------------------------------
\r
228 # s2daoVersion: (Default [The latest version])
\r
232 #torque.s2daoVersion = 1.0.46
\r
233 # ----------------/
\r
235 # /---------------------------------------------------------------------------
\r
236 # [S2Dao Component]
\r
237 # extendedDaoMetaDataFactoryImplClassName: (Default [dbflute provides])
\r
238 # Your original DaoMetaDataFactory.
\r
240 # extendedAnnotationReaderFactoryClassName: (Default 'org.seasar.dao.impl.AnnotationReaderFactoryImpl')
\r
241 # Your original AnnotationReaderFactory.
\r
244 #torque.extendedDaoMetaDataFactoryImplClassName =
\r
245 #torque.extendedAnnotationReaderFactoryClassName =
\r
246 # ----------------/
\r
248 # /---------------------------------------------------------------------------
\r
249 # [S2Dao Component]
\r
250 # daoSqlFileEncoding: (Default 'UTF-8')
\r
251 # Your original encoding of sql file for dao.
\r
254 #torque.daoSqlFileEncoding = UTF-8
\r
255 # ----------------/
\r
257 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
261 # /---------------------------------------------------------------------------
\r
263 # sequenceDefinitionMap: (Default 'map:{}')
\r
264 # The method 'XxxDao#selectNextVal()' is generated for its table primary key.
\r
266 # ex) public String selectNextVal_SQL = "select gen_id(BOOK_BOOK_ID_INC, 1) from RDB$DATABASE";
\r
267 # public java.math.BigDecimal selectNextVal();
\r
268 # // This example is for the database of Firebird
\r
270 # sequenceReturnType: (Default 'java.math.BigDecimal')
\r
271 # The return type of The method 'XxxDao#selectNextVal()' as DEFAULT!
\r
272 # If the primary key type of the table is BigDecimal
\r
273 # , The return type is the same as it inspite of this property.
\r
275 # isAvailableBehaviorInsertSequenceInjection: (Default 'true')
\r
277 # Inject sequence (auto) to primary key on behavior insert.
\r
279 # *Apache Derby does not support Sequence-Object.
\r
280 # But I want to test this property.
\r
282 torque.sequenceDefinitionMap = map:{ COLLECTION_STATUS_LOOKUP = testSeq }
\r
283 #torque.sequenceReturnType = java.lang.Integer
\r
284 #torque.isAvailableBehaviorInsertSequenceInjection = true
\r
285 # ----------------/
\r
287 # /---------------------------------------------------------------------------
\r
289 # identityDefinitionMap: (NotRequired - Default 'map:{}')
\r
290 # ID annotation of s2dao is generated for its table primary key.
\r
292 # ex) public static final String bookId_ID = "identity";
\r
294 # *Identity must be auto-registered by JDBC auto-increment information.
\r
296 #torque.identityDefinitionMap = map:{ \
\r
297 # AUTHOR = AUTHOR_ID \
\r
298 # ; BOOK = BOOK_ID \
\r
299 # ; COLLECTION = COLLECTION_ID \
\r
302 # ----------------/
\r
304 # /--------------------------------------------------------------------------
\r
305 # [Optimistic Lock]
\r
306 # updateDateFieldName: (Default null)
\r
307 # The field name of update-date.
\r
308 # For example, if this property is 'UPDATE_DATE',
\r
309 # the annotation is generated as follows:
\r
310 # public static final String TIMESTAMP_PROPERTY = "updateDate";
\r
312 # updateDateExceptTableList: (Default list:{})
\r
313 # The tables are out-of-target of 'updateDateFieldName'.
\r
314 # ex) list:{ prefix:LB_ }
\r
316 # versionNoFieldName: (Default null)
\r
317 # The field name of version-no.
\r
318 # For example, if this property id 'VERSION_NO'
\r
319 # the annotation is generated as follows:
\r
320 # public static final String VERSION_NO_PROPERTY = "versionNo";
\r
322 torque.updateDateFieldName = U_TIMESTAMP
\r
323 torque.updateDateExceptTableList = list:{ prefix:LB_ }
\r
324 #torque.versionNoFieldName = null
\r
325 # ----------------/
\r
327 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
330 # /---------------------------------------------------------------------------
\r
332 # isMakeDeprecated: (Default 'false')
\r
334 # Make deprecated method and class and so on...
\r
335 # *You shuold set this property FALSE!
\r
337 # isMakeRecentlyDeprecated: (Default 'true')
\r
339 # Make RECENTLY deprecated method and class and so on...
\r
340 # *You shuold set this property FALSE!
\r
342 # isMakeConditionQueryEqualEmptyString: (Default 'false')
\r
344 # Make equal empty-string method of condition-query.
\r
346 # isMakeBehaviorCopyInsert: (Default 'false')
\r
348 # Make copy insert method of behavior.
\r
350 # isMakeBehaviorLoopUpdate: (Default 'false')
\r
352 # Make loop update method of behavior.
\r
354 # isMakeTraceablePreparedStatement: (Default 'false')
\r
356 # Make traceable prepared statement.
\r
358 torque.isMakeDeprecated = true
\r
359 torque.isMakeRecentlyDeprecated = true
\r
360 torque.isMakeConditionQueryEqualEmptyString = true
\r
363 torque.isMakeBehaviorCopyInsert = true
\r
364 torque.isMakeBehaviorLoopUpdate = true
\r
365 torque.isMakeTraceablePreparedStatement = true
\r
368 #torque.isMakeConditionQueryNumericArgumentLong = false
\r
369 #torque.isMakeBehaviorForUpdate = true
\r
370 # ----------------/
\r
372 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
\r
373 # Little Adjustment
\r
375 # /---------------------------------------------------------------------------
\r
376 # [Non PrimaryKey Writable] (Default 'false')
\r
378 # Generate writable method at Non PrimaryKey Table.
\r
384 torque.isAvailableNonPrimaryKeyWritable = true
\r
385 # ----------------/
\r
387 # /---------------------------------------------------------------------------
\r
388 # [Adding Schema To TableSqlName] (Default 'false')
\r
390 # Add schema to table sql-name.
\r
396 torque.isAvailableAddingSchemaToTableSqlName = false
\r
397 # ----------------/
\r
401 # ========================================================================================
\r
405 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\r
406 # [Database Informaition]
\r
408 # * * * * * * * * * * * * * * * * * * * * * * * * *
\r
409 # You shuold use './dfprop/databaseInfoMap.dfprop'
\r
411 # * * * * * * * * * * * * * * * * * * * * * * * * *
\r
412 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
\r
416 # ========================================================================================
\r
419 # Normally you don't need to change these properties.
\r
422 # [JDBC to java-native mapping] (NotRequired - Default 'map:{}')
\r
424 # ex) map:{INTEGER=java.lang.Integer;TIMESTAMP=java.util.Date}
\r
425 # ex) map:{} // If you don't want to change...
\r
427 # Default mapping as follows:
\r
428 # * ----------------------------------------------------
\r
429 # * JDBC Type | Java Type | CSharp Type |
\r
430 # * ----------------------------------------------------
\r
431 # * CHAR | java.lang.String | String |
\r
432 # * VARCHAR | java.lang.String | String |
\r
433 # * LONGVARCHAR | java.lang.String | String |
\r
434 # * NUMERIC | java.math.BigDecimal | decimal? |
\r
435 # * DECIMAL | java.math.BigDecimal | decimal? |
\r
436 # * BIT | java.lang.Boolean | bool? |
\r
437 # * BOOLEAN | java.lang.Boolean | bool? |
\r
438 # * TINYINT | java.lang.Integer | int? |
\r
439 # * SMALLINT | java.lang.Integer | int? |
\r
440 # * INTEGER | java.lang.Integer | int? |
\r
441 # * BIGINT | java.lang.Long | long? |
\r
442 # * REAL | java.math.BigDecimal | decimal? |
\r
443 # * FLOAT | java.math.BigDecimal | decimal? |
\r
444 # * DOUBLE | java.math.BigDecimal | decimal? |
\r
445 # * BINARY | byte[] | byte[] |
\r
446 # * VARBINARY | byte[] | byte[] |
\r
447 # * LONGVARBINARY | byte[] | byte[] |
\r
448 # * DATE | java.util.Date | DateTime? |
\r
449 # * TIME | java.sql.Time | DateTime? |
\r
450 # * TIMESTAMP | java.sql.Timestamp | DateTime? |
\r
451 # * ----------------------------------------------------
\r
452 # torque.jdbcToJavaNativeMap = map:{NUMERIC=$$AutoMapping$$;DECIMAL=$$AutoMapping$$}
\r
454 # [The list of java-native that treated as String] (NotRequired - Default 'list:{}')
\r
455 # *This property overrides all-default-value.
\r
457 # Default list as follows: (When you set this empty)
\r
458 # Java{String} / CSharp{String}
\r
460 #torque.javaNativeStringList = list:{}
\r
462 # [The list of java-native that treated as Boolean] (NotRequired - Default 'list:{}')
\r
463 # *This property overrides all-default-value.
\r
465 # Default list as follows: (When you set this empty)
\r
466 # Java{Boolean} / CSharp{Nullables.NullableBoolean}
\r
468 #torque.javaNativeBooleanList = list:{}
\r
470 # [The list of java-native that treated as Number] (NotRequired - Default 'list:{}')
\r
471 # *This property overrides all-default-value.
\r
473 # Default list as follows: (When you set this empty)
\r
474 # Java{Byte, Short, Integer, Long, Float, Double, BigDecimal, BigInteger} / CSharp{Nullables.NullableDecimal}
\r
476 #torque.javaNativeNumberList = list:{}
\r
478 # [The list of java-native that treated as Date] (NotRequired - Default 'list:{}')
\r
479 # *This property overrides all-default-value.
\r
481 # Default list as follows: (When you set this empty)
\r
482 # Java{Date, Time, Timestamp} / CSharp{Nullables.NullableDateTime}
\r
484 #torque.javaNativeDateList = list:{}
\r
486 # [The list of java-native that treated as Binary] (NotRequired - Default 'list:{}')
\r
487 # *This property overrides all-default-value.
\r
489 # Default list as follows: (When you set this empty)
\r
492 #torque.javaNativeBinaryList = list:{}
\r
495 # /---------------------------------------------------------------------------
\r
496 # [ToLowerInGeneratorUnderscoreMethod] (NotRequired - Default 'true')
\r
501 #torque.isAvailableToLowerInGeneratorUnderscoreMethod = true
\r
502 # ----------------/
\r