[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1974) Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
Max Andersen (JIRA)
jira-events at lists.jboss.org
Mon Mar 31 10:51:40 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1974?page=all ]
Max Andersen updated JBIDE-1974:
--------------------------------
Issue Type: Feature Request (was: Bug)
Fix Version/s: LATER
feature request, not a bug.
> 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: Feature Request
> Components: Hibernate
> Affects Versions: 2.1
> Reporter: Anton Klimkovich
> Priority: Minor
> Fix For: LATER
>
> Attachments: exception.txt, TestHib.zip
>
>
> 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