Description
We use the popular org.joda.time.DateTime to map all our Date fields in our POJOs.
Could this be added to BeanProcessor.callSetter(....)
I have done this local change that appears to work for me.
if (value instanceof java.util.Date) {
final String targetType = params[0].getName();
if ("java.sql.Date".equals(targetType))
else
if ("java.sql.Time".equals(targetType))
else
if ("java.sql.Timestamp".equals(targetType))
else
if ("org.joda.time.DateTime".equals(targetType)) {
if (value instanceof java.sql.Timestamp)
}
}
Attachments
Issue Links
- is blocked by
-
DBUTILS-124 Introduce SPI to add more column, property handlers
- Resolved
- is duplicated by
-
DBUTILS-116 Enhance BeanProcessor to support Joda DateTime
- Closed