Reputation: 4202
I have set up all the things to run hibernate code generation. I have done it before, it was working for me. I have gone through the steps at http://www.mkyong.com/hibernate/how-to-generate-code-with-hibernate-tools/
But it's not working this time.
It shows me Databse and tables when I extract hibernate configuration in Hibernate view. When I run the code generation configuration it quickly gets completed(I have only 4 tables in MySQL databse). But no code is generated at output directory. No error comes in error log. Nothing seems to happen.
Anyone has faced the same issue?
Upvotes: 2
Views: 4716
Reputation: 41
I ran into this problem and solve it by checking Reverse engineer from JDBC Connections and setup reveng.xml.
I don't know why this checkbox is unchecked in default.
Upvotes: 0
Reputation: 4202
Just to inform others, The issue in my case was, I was providing a reveng.xml file in step 3. I have written table names in CAPS in this file and in My SQL they are in small.
This was the original issue. reveng.xml should have table names in same case as in Databse.
Upvotes: 9