[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-982) Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3

William DeCoste (JIRA) jira-events at lists.jboss.org
Wed Jun 6 15:26:08 EDT 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-982?page=all ]

William DeCoste closed EJBTHREE-982.
------------------------------------

    Fix Version/s: Branch_4_2
       Resolution: Done

> Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3
> -------------------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-982
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-982
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: EJB 3.0 RC9 - Patch 1, AS 4.2.0 GA
>            Reporter: William DeCoste
>         Assigned To: William DeCoste
>             Fix For: Branch_4_2
>
>
> 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.
-
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 jboss-jira mailing list