OSDN Git Service

0839172c4a7355495a9d2579bd7914bf31b0650d
[ea2ddl/ea2ddl.git] / ea2ddl-gen / dbflute / etc / client_directory-template / fullProperties / build-ldb.properties
1 # =======================================================================================\r
2 #                                                                                 for All\r
3 #                                                                                 =======\r
4 \r
5 # -------------------------------------------------------------------\r
6 #  P R O J E C T\r
7 # -------------------------------------------------------------------\r
8 # @FirstProperty\r
9 # @Required\r
10 torque.project = ldb\r
11 \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
17 #\r
18 #   axion, cloudscape, db2, db2400, hypersonic, interbase, mssql,\r
19 #   mysql, oracle, postgresql, sapdb, sybase, firebird, derby\r
20 # -------------------------------------------------------------------\r
21 # @FirstProperty\r
22 # @Required\r
23 torque.database = derby\r
24 \r
25 # -------------------------------------------------------------------\r
26 #  T A R G E T  L A N G U A G E\r
27 # -------------------------------------------------------------------\r
28 # (Default 'java')\r
29 #   The target language. Your possible choices are:\r
30 #     java, csharp\r
31 # -------------------------------------------------------------------\r
32 # @FirstProperty\r
33 #torque.targetLanguage = java\r
34 #torque.targetLanguageVersion = 6.0\r
35 \r
36 # -------------------------------------------------------------------\r
37 #  T E M P L A T E  E N C O D I N G\r
38 # -------------------------------------------------------------------\r
39 # (Default 'UTF-8')\r
40 #   The encoding of Velocity template file.\r
41 # -------------------------------------------------------------------\r
42 #torque.templateFileEncoding = UTF-8\r
43 \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
47 # (Default 'UTF-8')\r
48 #   The encoding of source file.\r
49 # -------------------------------------------------------------------\r
50 #torque.sourceFileEncoding = UTF-8\r
51 \r
52 \r
53 \r
54 # ========================================================================================\r
55 #                                                                              for OM task\r
56 #                                                                              ===========\r
57 \r
58 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
59 #                                                            Basic\r
60 #                                                         _/_/_/_/\r
61 # /---------------------------------------------------------------------------\r
62 # [Output Directory]\r
63 #   java.dir: (Default Java:'../src/main/java' CSharp:'../source')\r
64 #     The base output directory.\r
65 #\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
69 #\r
70 #     {app-project}\r
71 #         |\r
72 #         |-dbflute_[project]\r
73 #         |       |-build-[project].properties\r
74 #         |       |-...\r
75 #         |\r
76 #         |-src/main/java         // *Here!\r
77 #         |-src/main/resources\r
78 #         |-...\r
79 #\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
89 #\r
90 # @FirstProperty\r
91 #torque.java.dir = ../src/main/java\r
92 # ----------------/\r
93 \r
94 # /---------------------------------------------------------------------------\r
95 # [Class Author]\r
96 #   classAuthor: (Default 'DBFlute(AutoGenerator)')\r
97 #     The value of the author tag in class javadoc.\r
98 #     All classes are target.\r
99 #\r
100 #torque.classAuthor = DBFlute(AutoGenerator)\r
101 # ----------------/\r
102 \r
103 # /---------------------------------------------------------------------------\r
104 # [Naming]\r
105 #   isJavaNameOfTableSameAsDbName: (Default 'false')\r
106 #     [true]\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
109\r
110 #     [false]\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
113 #\r
114 #   isJavaNameOfColumnSameAsDbName: (Default 'false')\r
115 #     [true]\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
118\r
119 #     [false]\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
122 #\r
123 # @FirstProperty\r
124 #torque.isJavaNameOfTableSameAsDbName = false\r
125 #\r
126 # @FirstProperty\r
127 #torque.isJavaNameOfColumnSameAsDbName = false\r
128 # ----------------/\r
129 \r
130 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
131 #                                                           Prefix\r
132 #                                                         _/_/_/_/\r
133 # /---------------------------------------------------------------------------\r
134 # [PrefixAndSuffix]\r
135 #   projectPrefix: (Default null)\r
136 #     If the property is 'Ld', all class names are 'LdXxx'.\r
137 #\r
138 # @FirstProperty\r
139 torque.projectPrefix = Ld\r
140 # ----------------/\r
141 \r
142 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
143 #                                                            Dicon\r
144 #                                                             _/_/\r
145 # /---------------------------------------------------------------------------\r
146 # [Dicon Basic Information]\r
147 #   dbfluteDiconNamespace: (Default Java:'dbflute' CSharp:'DBFlute')\r
148 #     The namespace of dbflute dicon.\r
149 #\r
150 #   dbfluteDiconPackageName: (Default Java:'../resources' CSharp:'../source/${topNamespace}/Resources')\r
151 #     The package name of dbflute dicon.\r
152 #\r
153 #   dbfluteDiconFileName: (Default Java:'dbflute.dicon' CSharp:'DBFlute.dicon')\r
154 #     The file name of dbflute dicon. (Required)\r
155 #\r
156 #   j2eeDiconResourceName: (Default Java:'j2ee.dicon' CSharp:'Ado.dicon')\r
157 #     The resource name of J2EE dicon.\r
158 #\r
159 #   *Attension:\r
160 #      It is necessary that main dicon of application includes dbflute dicon.\r
161 #      ex) App dicon includes dbflute dicon.\r
162 #\r
163 # @FirstProperty\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
169 \r
170 # /---------------------------------------------------------------------------\r
171 # [Dicon Adjustment Information]\r
172 #\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
176 #\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
180 #\r
181 #\r
182 #torque.dbfluteDiconBeforeJ2eeIncludeDefinitionMap = map:{}\r
183 #torque.dbfluteDiconOtherIncludeDefinitionMap = map:{}\r
184 # ----------------/\r
185 \r
186 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
187 #                                                          Package\r
188 #                                                             _/_/\r
189 # /---------------------------------------------------------------------------\r
190 # [EntityDao Package]\r
191 #    packageBase: (Default '')\r
192 #      The base directory of package.\r
193 #\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
196 #\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
206 #\r
207 #      *If this property is not specified, you should specify the other package properties.\r
208 #\r
209 #\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
218 #\r
219 # @FirstProperty\r
220 torque.packageBase                              = dbflute.ldb\r
221 # ----------------/\r
222 \r
223 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
224 #                                                 S2Dao Adjustment\r
225 #                                                     _/_/_/_/_/_/\r
226 # /---------------------------------------------------------------------------\r
227 # [S2Dao Version]\r
228 #   s2daoVersion: (Default [The latest version])\r
229 #\r
230 # @FirstProperty\r
231 # @JavaOnly\r
232 #torque.s2daoVersion = 1.0.46\r
233 # ----------------/\r
234 \r
235 # /---------------------------------------------------------------------------\r
236 # [S2Dao Component]\r
237 #   extendedDaoMetaDataFactoryImplClassName: (Default [dbflute provides])\r
238 #     Your original DaoMetaDataFactory.\r
239 #\r
240 #   extendedAnnotationReaderFactoryClassName: (Default 'org.seasar.dao.impl.AnnotationReaderFactoryImpl')\r
241 #     Your original AnnotationReaderFactory.\r
242 #\r
243 # @JavaOnly\r
244 #torque.extendedDaoMetaDataFactoryImplClassName = \r
245 #torque.extendedAnnotationReaderFactoryClassName = \r
246 # ----------------/\r
247 \r
248 # /---------------------------------------------------------------------------\r
249 # [S2Dao Component]\r
250 #   daoSqlFileEncoding: (Default 'UTF-8')\r
251 #     Your original encoding of sql file for dao.\r
252 #\r
253 # @JavaOnly\r
254 #torque.daoSqlFileEncoding = UTF-8\r
255 # ----------------/\r
256 \r
257 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
258 #                                                         Adavance\r
259 #                                                             _/_/\r
260 \r
261 # /---------------------------------------------------------------------------\r
262 # [Sequence]\r
263 #   sequenceDefinitionMap: (Default 'map:{}')\r
264 #     The method 'XxxDao#selectNextVal()' is generated for its table primary key.\r
265 #\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
269 #\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
274 #\r
275 #   isAvailableBehaviorInsertSequenceInjection: (Default 'true')\r
276 #     [true]\r
277 #       Inject sequence (auto) to primary key on behavior insert.\r
278 #\r
279 # *Apache Derby does not support Sequence-Object.\r
280 #  But I want to test this property.\r
281 #\r
282 torque.sequenceDefinitionMap    = map:{ COLLECTION_STATUS_LOOKUP = testSeq }\r
283 #torque.sequenceReturnType              =       java.lang.Integer\r
284 #torque.isAvailableBehaviorInsertSequenceInjection = true\r
285 # ----------------/\r
286 \r
287 # /---------------------------------------------------------------------------\r
288 # [Identity]\r
289 #   identityDefinitionMap: (NotRequired - Default 'map:{}')\r
290 #     ID annotation of s2dao is generated for its table primary key.\r
291 #\r
292 #       ex) public static final String bookId_ID = "identity";\r
293 #\r
294 # *Identity must be auto-registered by JDBC auto-increment information.\r
295 #\r
296 #torque.identityDefinitionMap   = map:{ \\r
297 #               AUTHOR  =       AUTHOR_ID       \\r
298 #               ; BOOK  =       BOOK_ID \\r
299 #               ; COLLECTION    =       COLLECTION_ID   \\r
300 #       }\r
301 \r
302 # ----------------/\r
303 \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
311 #\r
312 #   updateDateExceptTableList: (Default list:{})\r
313 #     The tables are out-of-target of 'updateDateFieldName'.\r
314 #       ex) list:{ prefix:LB_ }\r
315 #\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
321 #\r
322 torque.updateDateFieldName          = U_TIMESTAMP\r
323 torque.updateDateExceptTableList    = list:{ prefix:LB_ }\r
324 #torque.versionNoFieldName           = null\r
325 # ----------------/\r
326 \r
327 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
328 #                                                    Making Option\r
329 #                                                         _/_/_/_/\r
330 # /---------------------------------------------------------------------------\r
331 # [Making Option]\r
332 #   isMakeDeprecated: (Default 'false')\r
333 #     [true]\r
334 #       Make deprecated method and class and so on...\r
335 #       *You shuold set this property FALSE!\r
336 #\r
337 #   isMakeRecentlyDeprecated: (Default 'true')\r
338 #     [true]\r
339 #       Make RECENTLY deprecated method and class and so on...\r
340 #       *You shuold set this property FALSE!\r
341 #\r
342 #   isMakeConditionQueryEqualEmptyString: (Default 'false')\r
343 #     [true]\r
344 #       Make equal empty-string method of condition-query.\r
345 #\r
346 #   isMakeBehaviorCopyInsert: (Default 'false')\r
347 #     [true]\r
348 #       Make copy insert method of behavior.\r
349 #\r
350 #   isMakeBehaviorLoopUpdate: (Default 'false')\r
351 #     [true]\r
352 #       Make loop update method of behavior.\r
353 #\r
354 #   isMakeTraceablePreparedStatement: (Default 'false')\r
355 #     [true]\r
356 #       Make traceable prepared statement.\r
357 #\r
358 torque.isMakeDeprecated = true\r
359 torque.isMakeRecentlyDeprecated = true\r
360 torque.isMakeConditionQueryEqualEmptyString = true\r
361 \r
362 # @JavaOnly\r
363 torque.isMakeBehaviorCopyInsert = true\r
364 torque.isMakeBehaviorLoopUpdate = true\r
365 torque.isMakeTraceablePreparedStatement = true\r
366 \r
367 #@Deprecated\r
368 #torque.isMakeConditionQueryNumericArgumentLong = false\r
369 #torque.isMakeBehaviorForUpdate = true\r
370 # ----------------/\r
371 \r
372 # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\r
373 #                                                Little Adjustment\r
374 #                                                     _/_/_/_/_/_/\r
375 # /---------------------------------------------------------------------------\r
376 # [Non PrimaryKey Writable] (Default 'false')\r
377 #   [true]\r
378 #     Generate writable method at Non PrimaryKey Table.\r
379 #\r
380 #   [false]\r
381 #     Non.\r
382 #\r
383 # @JavaOnly\r
384 torque.isAvailableNonPrimaryKeyWritable = true\r
385 # ----------------/\r
386 \r
387 # /---------------------------------------------------------------------------\r
388 # [Adding Schema To TableSqlName] (Default 'false')\r
389 #   [true]\r
390 #     Add schema to table sql-name.\r
391 #\r
392 #   [false]\r
393 #     Non.\r
394 #\r
395 # @JavaOnly\r
396 torque.isAvailableAddingSchemaToTableSqlName = false\r
397 # ----------------/\r
398 \r
399 \r
400 \r
401 # ========================================================================================\r
402 #                                                                            for JDBC task\r
403 #                                                                            =============\r
404 \r
405 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
406 # [Database Informaition]\r
407\r
408 #   * * * * * * * * * * * * * * * * * * * * * * * * *\r
409 #   You shuold use './dfprop/databaseInfoMap.dfprop'\r
410 #   Look the file!\r
411 #   * * * * * * * * * * * * * * * * * * * * * * * * *\r
412 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
413 \r
414 \r
415 \r
416 # ========================================================================================\r
417 #                                                                             for Internal\r
418 #                                                                             ============\r
419 # Normally you don't need to change these properties.\r
420 \r
421 #\r
422 # [JDBC to java-native mapping] (NotRequired - Default 'map:{}')\r
423 #\r
424 # ex) map:{INTEGER=java.lang.Integer;TIMESTAMP=java.util.Date}\r
425 # ex) map:{} // If you don't want to change...\r
426 #\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
453 \r
454 # [The list of java-native that treated as String] (NotRequired - Default 'list:{}')\r
455 #   *This property overrides all-default-value.\r
456 #\r
457 #   Default list as follows: (When you set this empty)\r
458 #     Java{String} / CSharp{String}\r
459 #\r
460 #torque.javaNativeStringList = list:{}\r
461 \r
462 # [The list of java-native that treated as Boolean] (NotRequired - Default 'list:{}')\r
463 #   *This property overrides all-default-value.\r
464 #\r
465 #   Default list as follows: (When you set this empty)\r
466 #     Java{Boolean} / CSharp{Nullables.NullableBoolean}\r
467 #\r
468 #torque.javaNativeBooleanList = list:{}\r
469 \r
470 # [The list of java-native that treated as Number] (NotRequired - Default 'list:{}')\r
471 #   *This property overrides all-default-value.\r
472 #\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
475 #\r
476 #torque.javaNativeNumberList = list:{}\r
477 \r
478 # [The list of java-native that treated as Date] (NotRequired - Default 'list:{}')\r
479 #   *This property overrides all-default-value.\r
480 #\r
481 #   Default list as follows: (When you set this empty)\r
482 #     Java{Date, Time, Timestamp} / CSharp{Nullables.NullableDateTime}\r
483 #\r
484 #torque.javaNativeDateList = list:{}\r
485 \r
486 # [The list of java-native that treated as Binary] (NotRequired - Default 'list:{}')\r
487 #   *This property overrides all-default-value.\r
488 #\r
489 #   Default list as follows: (When you set this empty)\r
490 #     byte[]\r
491 #\r
492 #torque.javaNativeBinaryList = list:{}\r
493 \r
494 \r
495 # /---------------------------------------------------------------------------\r
496 # [ToLowerInGeneratorUnderscoreMethod] (NotRequired - Default 'true')\r
497 #   [true]\r
498 #\r
499 #   [false]\r
500 #\r
501 #torque.isAvailableToLowerInGeneratorUnderscoreMethod = true\r
502 # ----------------/\r