Hi.
Following are the tools I am using :
1) MySql server 5.0
2) Hibernate 3.2.5
3) xml version 1.0
Now when I add the 'mutable="false" attribute in the mapping file, I am able to delete the records from the database using the session.delete(obj) command. I am not being able to figure out just why is this happening ..?
I might say that the updating process seems to work OK. When I use session.update(obj), no hibernate is raised, but the record isn't updated either. Thus, it seems to be ok.
Thus, the problem seems to be with the deletion process.
Any ideas??
|