Hibernate Code Generation

I always have trouble finding this when I go away for a few months:

  • The code generation will create files named <>Home.java instead of <>DAO.java, but the class is indeed a DAO class. Just need to move into the desired package and then correct the name of the compilation unit (offered as a choice when correcting the error from within Eclipse.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License