Win a copy of The Business Blockchain this week in the Cloud forum!
    Bookmark Topic Watch Topic
  • New Topic

JPA /Hibernate mappiing error

 
jeff mutonho
Ranch Hand
Posts: 271
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm trying to persist a simple User object to an HSQLDB.The code performs a check to see if the User already exist and if not , then persists the User object.
The code is shown below :



The User class looks like :


and my persistence.xml :




When I try to run the application , I'm getting the following exception:

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not duplicate post.

Thanks

Mark
 
    Bookmark Topic Watch Topic
  • New Topic