i trying reverse engineer sql server 2005 using hibernate tools , getting strange error:
org.hibernate.cfg.jdbcbinderexception: duplicate class name 'checkconstraints' generated 'org.hibernate.mapping.table(e2rm_maintenance_development2.sys.check_constraints)'. same name generated 'org.hibernate.mapping.table(e2rm_maintenance_development2.sys.check_constraints)' duplicate class name 'checkconstraints' generated 'org.hibernate.mapping.table(e2rm_maintenance_development2.sys.check_constraints)'. same name generated 'org.hibernate.mapping.table(e2rm_maintenance_development2.sys.check_constraints)'
a development user has typically access multiple database schema s similar tables. generation tool tries generate output databases , results in duplicate class names (even if ask ddl generation).
add 'reveng' setup , limit output 1 database schema.
also add necessary parameters selected 'exporters'. necessary, not indicated in overview.
Comments
Post a Comment