Wednesday, May 28, 2014

Hibernate General Exceptions

Common exceptions that we encountered in hibernate:

  • Caused by: org.hibernate.TransientPropertyValueException: object references an unsaved transient instance - save the transient instance before flushing:
Solution: This is caused by not using Cascade type while defining mapping.

No comments:

Post a Comment