[jboss-jira] [JBoss JIRA] Updated: (JBJPA-34) CLONE - Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3

Brad Maxwell (JIRA) jira-events at lists.jboss.org
Mon Jan 10 13:53:49 EST 2011


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

Brad Maxwell updated JBJPA-34:
------------------------------

        Fix Version/s:     (was: 1.0.1)
    Affects Version/s:     (was: 1.0.0)
          Environment: JBoss AS 6  (was: JBoss Enterprise Application Platform 5.0.1)
          Component/s: impl
                           (was: mcint)


> CLONE - Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: JBJPA-34
>                 URL: https://issues.jboss.org/browse/JBJPA-34
>             Project: JBoss JPA
>          Issue Type: Bug
>          Components: impl
>         Environment: JBoss AS 6
>            Reporter: Brad Maxwell
>            Assignee: Brad Maxwell
>              Labels: PersistenceUnitInfo, ejb3, hibernate, jboss, newTempClassLoader
>
> Looks like https://jira.jboss.org/browse/EJBTHREE-982 did not make it into JBoss 5
> WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getN
> ewTempClassLoader() is null.
> Coming from org.hibernate.ejb.Ejb3Configuration
> private void addXMLEntities(List<String> xmlFiles, PersistenceUnitInfo info, List<String> entities) {
> //TODO handle inputstream related hbm files
> ClassLoader newTempClassLoader = info.getNewTempClassLoader();
> if (newTempClassLoader == null) {
> log.warn( "Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null." );
> return;
> }
> However, implementation of org.jboss.ejb3.entity.PersistenceUnitInfoImpl has:
> public ClassLoader getNewTempClassLoader()
>    {
>       return null;
>    }

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list