posted 15 years ago
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: