View Single Post
  #1 (permalink)  
Old April 28th, 2014, 07:58 AM
mistre83 mistre83 is offline
Authorized User
Points: 52, Level: 1
Points: 52, Level: 1 Points: 52, Level: 1 Points: 52, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2014
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch28 CustomerSupport InvalidDataAccessApiUsageException

Hi to all,
while running Ch28 Customer support and after creating a ticket i got this error:

HTTP Status 500 - Request processing failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageE xception: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : com.wrox.site.entities.Ticket.customer -> com.wrox.site.entities.UserPrincipal; nested exception is java.lang.IllegalStateException: org.hibernate.TransientPropertyValueException: Not-null property references a transient value - transient instance must be saved before current operation : com.wrox.site.entities.Ticket.customer -> com.wrox.site.entities.UserPrincipal

Someone know how to solve this?
Reply With Quote