[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-982) Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3
William DeCoste (JIRA)
jira-events at lists.jboss.org
Fri Jun 1 13:16:08 EDT 2007
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: AS 4.2.0 GA, EJB 3.0 RC9 - Patch 1
Reporter: William DeCoste
Assigned To: William DeCoste
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