I think it would be nice if there was an option in the code generator to define the setter/getters as java.util.Date and not java.sql.Date/Timestamp. I know their is a difference in the objects and I would expect that when fetching a record, the implementation of the java.util.Date value would be one of the java.sql.X ones. I think it would just be nice to do setMyField(new Date()).
I started looking at the code generator and seeing if this was an easy change. It works fine for the pojos, but then fails for the DAOs and Records. I found I ran into an issue with the DataType object. So would this even be possible, or would this seem like it would go against the core design/principles of jOOQ? I assume that supporting this in the pojos might be easy, but I was curious if this would be possible with the records too.
Darren