Hi,
I created a basic database schema, a simple java project and then reverse engineered the tables into the project.
I popped up the HQL editor and ran HQL queries against the schema and everything worked fine.
Then, I added another table to the schema using TOAD, refreshed the project and ran the SQL queries again. They worked except for the NEW table.
This got me searching for problems. I deleted the project and recreated the project again. However, for my hibernate source I renamed the package. Then reverse engineered again. No luck.
I kept getting the class not mapped exception in all these cases. I checked everything from the hbm files to the cfg. Everything looks right.
Then I typed in the simple query below in the HQL editor with full class path :
from com. and hit code assist. The code assist is showing the packagee from the old deleted project. NOT the new one. So how do I clear the cache for the HQL editor so it looks at the new package and not the old deleted project/package?
Thanks.