|
Hi everybody,
I'm just starting using Hibernate Tools 3.2.7 with Eclipse 3.2.
I created a poor database on postgresql with 2 tables Book and Author, with a foreign key in Book on Author.
I created first a configuration file.
After I use the code generation option and enabled the reverse engineer option. It worked fine and generated me java file on this 2 tables and 2 XML mapping files.
When I switch Hibernate Console Perspective, I can see my configuration with a new sessionfactory but I can't run any HQL request because it says the table I select is not mapped. Moreover, it's said online I should see "mapped entities" and it's not here !
I don't understand.
Could you help me ?
|