Hibernate with DB Visual Architect tool from VisualParadigm

Important things to note:

1. If you want to see “relationship” fields in generated classes -> in ERD (Entity Relationship Diagram) -> right click on the property -> open specifications -> generated: always
2. Note that it will also require property to be set as NULLABLE and have a default value (i use NULL)
1. If working with NetBeans check that error is not actually happening somewhere in the code. Especially if it says something like:
ERROR JDBCExceptionReporter:101 – Unknown column ‘ParentId’ in ‘where clause’
In addition, compiler will not show you the exact position in the code.
I was so frustrated, I actually started doing manual Hibernate code… till I decided to give it a final try!

Leave a comment