time « Field « JPA Q&A





1. How can I update a field in the DB with the DB's sys time?    forum.hibernate.org

All, I have a non-hibernate application that I'm trying to port to hibernate 3.0. Currently, the non-hibernate application does things like this: update clientTable set lastHeartBeat=sysdate where id=35; In the above example, "sysdate" is particular to Oracle and represents the current time. I like using the system time because we are running in a clustered environment and our application servers could ...

2. Date restriction in SQLServer fails if field contains time.    forum.hibernate.org

Hi all, Hibernate version: 3.0 Name and version of the database you are using: SQL Server 2000 I created the following mapping : Code: