openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <>
Subject Re: @Version for sqlserver "timpstamp" datatype
Date Thu, 14 Apr 2011 13:33:15 GMT
Hi Chintan,

I'm not very familiar with SQLServer, and I can't recommend a JDBC driver.
It's possible that DataDirect or Microsoft have other workarounds that will
convert a timestamp to another Java type, but it's probably unlikely.

If you cannot introduce a new column it's very hard to do optimistic

I'm sorry I don't have a good solution for this problem. Maybe someone else
on the list will have a better idea.


On Wed, Apr 13, 2011 at 10:01 AM, chintan4181 <> wrote:

> Thanks Mike. are you aware of any mssql jdbc driver which maps timestamp to
> java.sql.TimeStamp? becuase i can not introduce new version column in
> existing db.
> can youplease guide me any other way to implement optimistic locking?
> ~chintan
> --
> View this message in context:
> Sent from the OpenJPA Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message