Mapping from DATE columns to java.sql.Timestamp is now implemented in
jOOQ 2.0.2. You'll find the updated manual section about source code
generation configuration here:
http://www.jooq.org/manual/META/Configuration/

The relevant property is
generator.database.date-as-timestamp=true

Cheers,
Lukas

2012/1/5 Lukas Eder <[email protected]>:
> Hello,
>
>> Thanks a lot, right now I'll use your fix that works as expected,
>> while I wait fot the 2.0.2.
>> For the reference:The method of the class that calls the procedure
>> ended like this:
>> public static final org.jooq.Parameter<java.sql.Timestamp>
>> MY_ORACLE_DATE_FIELD = createParameter(" MY_ORACLE_DATE_FIELD",
>> org.jooq.impl.SQLDataType.TIMESTAMP);
>
> Exactly. That's also what jOOQ-codegen will generate if you set it to
> generate java.sql.Timestamp for DATE columns.
>
> Cheers
> Lukas

Reply via email to