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 locking. I'm sorry I don't have a good solution for this problem. Maybe someone else on the list will have a better idea. -mike On Wed, Apr 13, 2011 at 10:01 AM, chintan4181 <[email protected]> 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: > http://openjpa.208410.n2.nabble.com/Version-for-sqlserver-timpstamp-datatype-tp6267241p6269353.html > Sent from the OpenJPA Users mailing list archive at Nabble.com. >
