Using: Hibernate Artifact Generation
Attempting to create POJO files
-Console configuration is selected
-Generate POJO option selected
Error:
Message:
Problem while executing Create SessionFactory(org.hibernate.MappingException: Could not configure datastore from file: C:\J2EE\xxxx\exxxxxxxxxEJB.ejb3\src\com\dygtig\hibernate\Actype.hbm.xml)
Problem appears to be triggered when Console Configuration includes configuration file hibernate.cfg.xml and one or more of the mapping files in hibernate.cfg.xml are also specified in mapping files section of the Console Configuration. The dupplicate mappings seem to cause the problem.
Request a dup mapping check be added. Output a user friendly message if a dup mapping is detected.
HibernateExt from CVS (05MAY2005).
Eclipse 3.1M6 with Webtools. Generic problem.
See forum thread for more info.
http://forum.hibernate.org/viewtopic.php?t=941809
Since this issue is more than 10 years old, I will resolve it with 'out of date' resolution. Feel free to reopen it if it is still relevant.