senthil_rect wrote:
Can u enable the show_sql propery and check the queries?
Could u post the queries generated by Hibernate, which will be helpful to give appropriate solution?
Thank you for going through my post.
But I think i kind of got the solution. Though i still dont know why the error occured.
I changed the Hibernate mapping property..
<id name="userId" type="java.lang.String" column="USERID">
<generator class="assigned"/> </id>
So now i can insert the data, and i have to set the ID by myself.
THANK YOU AGAIN.