java - Mapping Files and POJOS from Database for postgres not working -
im using netbeans 7.3, windows 7, postgres 9.2,
created java web project hibernate 3.2.5 (driver = postgresql-9.2-1002.jdbc4)
i added new project postgres database info,
after created reverse engineering file netbeans tool
, used wizard "hibernate mapping files , pojos database..."
, doesn't create classes,
tested mysql , works prefect.
the problem when use hibernate postgres.
i use same environment (except hibernate version).
when go services tab under databases, jdbc connection postgres appear? if so, can connect execute query?
under 'new hibernate mapping files , pojos database' dialog, assume have code generation settings domain code selected well.
and .. hibernate.reveng.xml file have entries elements? these map 1:1 tables in database.
Comments
Post a Comment