[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1974) Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Thu May 6 06:41:46 EDT 2010
[ https://jira.jboss.org/jira/browse/JBIDE-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12529334#action_12529334 ]
Vitali Yemialyanchyk commented on JBIDE-1974:
---------------------------------------------
JBIDE-6099 - look like roadmap to fix this issue.
> Exception occures after add additional mapping file into Hibernate cofiguration that is already listed in cfg.file.
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-1974
> URL: https://jira.jboss.org/jira/browse/JBIDE-1974
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: Hibernate
> Affects Versions: 2.1.0.CR1
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list