This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
a different object with the same identifier value was already associated with the session: [ValueObj
posted 7 years ago
I'm new to hibernate.
I get the following error
The common solution i found is that the object might be in the session cache , so If that object is modified for the reason of persistance this error is thrown. Provided the cascade style is save or Update.
The solution is to choose the cascade as merge or evict the object from the session.
I tried both unsuccessfully. Pretty sure I messed up in the code. so please help me to resolve the error.