Database model class generator Using Maven Pluging
File : src/main/resources/hibernate.properties Point "Database_Name" in hibernate.connection.url and hibernate.default_schema to your Database Name and change username and password
File : src/main/resources/hibernate.cfg.xml Point property value to your Database Name and change username and password
File : src/main/resources/hibernate.reveng.xml Point to your Database Name Point your entity package