I'm fine with storing dates in the database. But if I had to store longs, I'd look into using Dates in my java object and mapping it to the database using a custom type. I haven't tried it, but I'm pretty sure that'd work.
If you decide to stay with having two properties, mark the Date one @Transient, and it won't show up as a column. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084078#4084078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084078 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
