Mapping with java.sql.Timestamp is broken because nanoseconds aren't mapped.
The problem is that java.sql.Timestamp is a java.util.Date but as stated on the API docs it shouldn't considered properly as a subclass.
I've seen other libraries distinguish subclasses inside a java.util.Date instance of.
this is a JUnit3 test to show the problem.
thanks again for your job
paolo antinori & daniele sabaini
Log in to post a comment.