My understanding is that if you want to do stuff like this in HSQLDB,
you must create a special "dual" table manually. However, I think it is
reasonable to fall back to jvm datetime for HSQLDB, since the
overwhelmingly common case is that HSQL is running in-process *anyway*.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Ebersole
Sent: Wednesday, 3 August 2005 5:45 PM
To: Hibernate devel
Subject: [Hibernate] <timestamp source="db"/>

I just added support for optimistic locking based on the database
server's current timestamp, as opposed to the jvm timestamp.

However, was not sure how to retrieve the current timestamp for all
dialects (I got all the major ones expect HSQLDB).  So if a certain
Dialect is near and dear to your heart, please make sure it supports
this properly.  Look for the Dialect.getCurrentTimestampSelectString()
and Dialect.isCurrentTimestampSelectStringCallable() methods.

Thanks. 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to