users@glassfish.java.net

_at_Version with timestamp

From: Ignacio Goyeneche <igoyeneche_at_maz.es>
Date: Tue, 09 May 2006 16:31:21 +0200

Hi,
I want to use a version field based on a timestamp to control
concurrency problems with
optimistic locking in my application.
I made it work with a version number against a long field, but I
couldn´t make it work
against a timestamp.

I searched for it on the net and saw I'm not the only one with this
problem, see:

_http://technology.amis.nl/blog/?p=977_


Can you tell me if timestamps are supported? How do I use them?

Thanks,
     Ignacio.

-- 
Ignacio Goyeneche igoyeneche_at_maz.es <mailto:igoyeneche_at_maz.es>
(Análisis y Desarrollo Informático )
Teléfono: 976 748 120
MAZ - Mutua de A.T. y E.P. de la Seg. Social Nş 11
Avda. Academia General Militar,74
50015 ZARAGOZA
http://www.maz.es
/Aviso sobre confidencialidad:
Este documento se dirige exclusivamente a su destinatario por poder
contener información confidencial. Se informa a quien lo recibiera sin
ser el destinatario o persona autorizada por éste que la información
contenida en el mismo es reservada y su utilización o divulgación está
prohibida.
//Si ha recibido este documento por error, le rogamos que lo comunique
y proceda a su destrucción. /