This is such a noob question, I know and I apologize. I\'m trying to edit existing record with Hibernates session.merge() method and I get the following error:
The problem isn't with Hibernate. title.getTitleId()
is null when you pass it to session.get()
, and that's a problem with your web service/application.
You can provide more details here, or ask a new question, if you're having difficulties retaining attributes across the web, rest or WS session.