I have one nasty trouble persisting entity relationship. Here are my classes:
1. OneToMany class:
2. ManyToOne class
Before the object is persisted, all properties are populated except for both ids - autogenerated PKs, and internalId in the 2nd class - the foreign key - also null.
When I try to persist the object, I get
Seems like the ID value is not propagated down and INTERNAL_ID is never updated when the second class is persisted.
Could someone HELP please? I've been struggling with for more than 5 days already... I'm pretty sure it's something small and silly...
P.S. Weblogic 10, persistence provider - Kodo
[ April 08, 2008: Message edited by: Dmitry Danilov ]