hibernate - How to update @Transient member -
i have class this
@entity public class order { ... ... @transient private orderdetail detail; private integer orderdetailid; } @entity public class orderdetail { ... ... }
note: existing class. utilize jpa/hibernate
i want update orderdetail through order object. how can accomplish it?
thanks
you have marked detail
transient. since not persistent cannot update it.
isn't there relation between order
, orderdetail
?
hibernate jpa
No comments:
Post a Comment