[jbosstools-issues] [JBoss JIRA] (JBIDE-10079) JPA: NPE when NamingStrategy with xml mapping is used

Jiri Peterka (Closed) (JIRA) jira-events at lists.jboss.org
Mon Dec 19 09:48:09 EST 2011


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

Jiri Peterka closed JBIDE-10079.
--------------------------------



Verified in JBDS 5.0.0, H62, L64
                
> JPA: NPE when NamingStrategy with xml mapping is used
> -----------------------------------------------------
>
>                 Key: JBIDE-10079
>                 URL: https://issues.jboss.org/browse/JBIDE-10079
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.M4
>            Reporter: Dmitry Geraskov
>            Assignee: Dmitry Geraskov
>             Fix For: 3.3.0.M5
>
>
> java.lang.NullPointerException
> 	at org.hibernate.util.StringHelper.unqualify(StringHelper.java:165)
> 	at org.hibernate.cfg.EJB3NamingStrategy.classToTableName(EJB3NamingStrategy.java:40)
> 	at org.jboss.tools.hibernate.jpt.core.internal.context.orm.HibernateOrmTableImpl.buildDefaultDBTableName(HibernateOrmTableImpl.java:78)
> 	at org.jboss.tools.hibernate.jpt.core.internal.context.orm.HibernateOrmTableImpl.synchronizeWithResourceModel(HibernateOrmTableImpl.java:53)
> 	at org.eclipse.jpt.jpa.core.internal.context.orm.AbstractOrmEntity.synchronizeWithResourceModel(AbstractOrmEntity.java:231)
> 	at org.jboss.tools.hibernate.jpt.core.internal.context.orm.HibernateOrmEntityImpl.synchronizeWithResourceModel(HibernateOrmEntityImpl.java:66)
> 	at org.eclipse.jpt.jpa.core.internal.jpa1.context.orm.GenericOrmPersistentType.synchronizeWithResourceModel(GenericOrmPersistentType.java:123)
> 	at org.eclipse.jpt.jpa.core.internal.context.ContextContainerTools.sync(ContextContainerTools.java:137)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list