[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-1974) Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
Anton Klimkovich (JIRA)
jira-events at lists.jboss.org
Mon Mar 31 09:33:39 EDT 2008
Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
-------------------------------------------------------------------------------------------------------------------
Key: JBIDE-1974
URL: http://jira.jboss.com/jira/browse/JBIDE-1974
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 2.1
Reporter: Anton Klimkovich
Priority: Minor
EXECUTE: Import attached project
EXECUTE: Open Hibernate Configuration View
EXECUTE: Select Add Configuration from context menu
EXECUTE: Select project and select hibernate.cfg.xml
EXECUTE: Switch to Mappings tab
EXECUTE: Add mapping file (NewMapping.hbm.xml from src/demo/ )
EXECUTE: Press Apply button and Ok button
EXECUTE: Expand newly created configuration
FAILURE: org.hibernate.InvalidMappingException: Could not parse mapping document from file TestHib\src\demo\NewMapping.hbm.xml
ASSERT: Any warning message about duplicate using of the same mapping file or if additional file already presents in *cfg.xml may be need to exclude it from list of available files in wizard for adding Additional mappings. Or something else...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list