[jbosstools-issues] [JBoss JIRA] (JBIDE-4015) Edit Configuration - if configuration file hibernate.cfg.xml contains <mapping class="..."> and config type is "Core" - will result exception

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Sep 24 03:52:50 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-4015:
---------------------------------------

    Assignee: Koen Aers  (was: Dmitry Geraskov)

    
> Edit Configuration - if configuration file hibernate.cfg.xml contains <mapping class="..."> and config type is "Core" - will result exception
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4015
>                 URL: https://issues.jboss.org/browse/JBIDE-4015
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: hibernate
>    Affects Versions: 3.0.0.CR2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Koen Aers
>            Priority: Minor
>             Fix For: LATER
>
>
> Exception:
> org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="..."/>
> An AnnotationConfiguration instance is required to use <mapping class="..."/>
> this is expected behavior - the user should select "Annotations" or "JPA"
> but it will be a nice feature if in the case hibernate.cfg.xml contains <mapping class="...">
> "Core" will become disabled or warning (or error) mesage be display.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list