Regular |
|
Joined: Fri Nov 21, 2003 10:23 am Posts: 81
|
I have entity A that contains foreign key A.bpk to entity B that have primary key B.bpk. When I define in hibernate for class A many-to-one association to class B (using A.getB() ), I am not able to work with A.bpk, because I have only class reference to B.
But I need in some cases to work directly with A.bpk (load from db and persist to db without loading all B class and setting B class)
Is it posible with hibernate?
It is very important for me.
Thanks
|
|