]
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: