Hey All,
We have a problem that when we try to move a hibernate 3.2 project using annotations in the abstract files from the original development machine to a new machine. The error we always get:
myTable is not mapped [from myTable]
This happens on all data accesses from the code generated with the Hibernate Reverse engineering. The accesses work fine in a deployed copy of the application on servers and on the original machine, but when we try to access it from within MyEcplise on another machine we get this error.
We are using a hibernate.cfg.xml file with mappings like <mapping class=”com.tmcp.hibernate.myTable” /> and everything in that is the same between the two copies. All table and field definitions are done with annotations in the abstract files generated by the reverse engineering function of MyEclipse. We use SVN to upload the project to our repository and then checkout the project on the new machine.
If we copy the entire workspace from the old system to the new one, it works. But by checking out the project from the SVN it gets the error when run in the integrated tomcat.
So we think there is some configuration somewhere that is different, but have not been able to find what or where.
The original MyEclipse is 7.5 and have had this issue on 8 and 8.5.
Any thoughts on what to look at or for would be greatly appreciated.
Thanks,
Ed