Open gilinykh opened 4 years ago
Will have a look thanks
Could be possible to get the post process test data bytecode?
@arnaudroger Here's a test app sfm-timestamptz-spring.zip
Just run mvn test
to get the error (jooq model gets generated by LiquibaseGenerator):
org.jooq.exception.MappingException: Could not find eligible property for 'CREATED_AT' on class com.example.sfmtimestamptz.TestRepository$TestData not found See https://github.com/arnaudroger/SimpleFlatMapper/wiki/Errors_PROPERTY_
NOT_FOUND
at com.example.sfmtimestamptz.SfmTimestamptzSpringApplicationTests.correctOffsetDateTime(SfmTimestamptzSpringApplicationTests.java:24)
I have the same issue, with LocalDateTime and Timestamp type. The column in my postgres db has datatype timestamp and i would like to map it to Java LocalDateTime property. Here I also get eligible property for ....
Definition in JOOQ generated table for the column ist: public final TableField<UsersRecord, LocalDateTime> DELETED_DATE;
Its working, if i change the datatype in my java object to Timestamp or String.
Having this table in database:
And this JOOQ's generated field for table's column:
When querying that table using SelectQueryMapper:
Mapping error occurs:
sfm-jooq v. 8.2.3 is used