openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chintan4181 <chintan4...@gmail.com>
Subject Re: @Version for sqlserver "timpstamp" datatype
Date Thu, 14 Apr 2011 17:06:15 GMT
Few more details: Loan object has one-to-one relation with other object and i
have already queried parent object which contains loan object.

so Parent p = em.find(Parent.class, pId);
Loan loan = p.getLoan();

//setting loan values 

//lock loan object with optimistic lock
//persist it.

--
View this message in context: http://openjpa.208410.n2.nabble.com/Version-for-sqlserver-timpstamp-datatype-tp6267241p6273590.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message