timestamp « Default « JPA Q&A





1. Setting database-agnostic default column timestamp using Hibernate    stackoverflow.com

I'm working on a java project full of Hibernate (3.3.1) mapping files that have the following sort of declaration for most domain objects.

<property name="dateCreated" generated="insert">
   ...

2. How can I map a Java date to DATETIME in mysql (by default its TIMESTAMP) with Hibernate annotations    stackoverflow.com

All my db tables should have an endTime field which by default should be END_OF_TIME or something like that. I am not happy about the 2038 limitation so I want endTime ...

3.  - Changing default DB function    forum.hibernate.org