Hi,
I’m using MyEclipse Hibernate and Spring support. I have created my database table, and managed to successfully connect to the database.
Using MyEclipse reverse engineering, MyEclipse created my DAOs, POJOs and mapping files. I am able to retrieve all data from the database (MySQL) using the classes set up by MyEclipse. However, while trying to update or insert any rows into any of the tables the following occurs.
1) MyEclipse DAOs go through without failure.
2) Retrieving by findAll() method gives me updated data
3) Checking the database there are no changes
4) Trying to update this row from MySQL Administrator reports that the row in question is locked.
5) After killing tomcat lock is released and I can now update changes.
This is very difficult for me to debug for two reasons. First, there are no error messages reported, so not much to start from. Two, I’m a newbie to hibernate, that’s one of the reasons I use MyEclipse for this project.
Any help on this issue would be highly appreciated.
Thx in advance,
Vedran