Hi folks!
I'm implementing a java Web Application that store it's data on a MySql database. For the implementation, I'm using eclipse and the hibernate synchornizer plugin.
I already got success accessing the tables on the database.
But I had problems when tried to save to a specif table...
This is a User table that has some attributes like: username, firstname, lastname, email, etc.
The username attribute is the table primary key and is a String type attribute.
I created a bean for this user, setting up the required information.
At the moment that I tried to save the Bean, the hibernate returned this exception:
net.sf.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short
Do you know what is happening?
Thanks!
|