posted 15 years ago
Hello all,
I'm virgin working on Hibernate.Can any one please help me out with the problem i'm having.
Problem-
I have Three tables -
Agreement ,Item,ItemCategories
Agreement has one -many relation with both Items and ItemCategories .
ItemCatogeries has one-many relation with Items.
When i create Agreement record ,i need to store n records in Both the other tables(Both has relation).
The problem i'm getting is exception in item table saying..Not-null property references a null or transient value for class Itemcategory in Item.
I'm having lot of files to attach.So if any one had this problem before and solved .........please help me out
Quick help would be Appreciated.