openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chintan4181 <>
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:
Sent from the OpenJPA Users mailing list archive at

View raw message