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