Re: [hibernate-dev] HHH-8310 : WrappedBlob/WrappedClob classloading problem

2014-07-08 Thread Gail Badner
I heard back from Steve and he agrees that getting the ClassLoader from WrappedBlob.class.getClassLoader() should be fine. To answer Scott: IIUC, HHH-8010 has to do with using a specified OsgiClassLoader to build a SessionFactory or EntityManagerFactory. Most usages of ClassLoaderHelper.getCont

Re: [hibernate-dev] HHH-8310 : WrappedBlob/WrappedClob classloading problem

2014-07-08 Thread Gail Badner
Hi Scott, I believe the classloading problem you mention is the same. Both BlobProxy.getProxyClassLoader() and SerializableBlobProxy.getProxyClassLoader() return ClassLoaderHelper.getContextClassLoader() if non-null. Gail - Original Message - > From: "Scott Marlow" > To: "Gail Badner"

Re: [hibernate-dev] HHH-8310 : WrappedBlob/WrappedClob classloading problem

2014-07-08 Thread Scott Marlow
On 07/08/2014 05:04 PM, Scott Marlow wrote: > This sounds similar to https://community.jboss.org/message/879546 I was hoping to hear more feedback from the above link but didn't. I suspect that its a classloader issue with ear sub-deployments having Hibernate on their classpath but not the ear

Re: [hibernate-dev] HHH-8310 : WrappedBlob/WrappedClob classloading problem

2014-07-08 Thread Scott Marlow
This sounds similar to https://community.jboss.org/message/879546 On 07/08/2014 03:53 PM, Gail Badner wrote: > HHH-8310 [1] mentions a Spring bug SPR-11125 [2] that results in threads > having a different ContextClassLoader (CCL) than their caller. As a result, > SerializableBlobProxy.generatePr

Re: [hibernate-dev] HHH-8310 : WrappedBlob/WrappedClob classloading problem

2014-07-08 Thread Sanne Grinovero
On 8 July 2014 20:53, Gail Badner wrote: > HHH-8310 [1] mentions a Spring bug SPR-11125 [2] that results in threads > having a different ContextClassLoader (CCL) than their caller. As a result, > SerializableBlobProxy.generateProxy() throws IllegalArgumentException because > WrappedBlob is not

[hibernate-dev] HHH-8310 : WrappedBlob/WrappedClob classloading problem

2014-07-08 Thread Gail Badner
HHH-8310 [1] mentions a Spring bug SPR-11125 [2] that results in threads having a different ContextClassLoader (CCL) than their caller. As a result, SerializableBlobProxy.generateProxy() throws IllegalArgumentException because WrappedBlob is not found. The same happens for SerializableClobProxy

[hibernate-dev] IRC Developer Meeting - 7/8

2014-07-08 Thread Steve Ebersole
Mostly more design discussion of JdbcSession [10:49] Minutes: http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2014/hibernate-dev.2014-07-08-14.42.html [10:49] Minutes (text): http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2014/hibernate-dev.2014-07-08-14.

Re: [hibernate-dev] Release of Hibernate ORM 4.3.6 ?

2014-07-08 Thread Steve Ebersole
Gail was going to work on this. IIRC she was waiting to finish the merge work she was doing. Gail? On Mon, Jul 7, 2014 at 6:21 PM, Sanne Grinovero wrote: > Hi all, > I'm looking forward to a release of Hibernate ORM 4.3, especially > after my fix for Service loading under OSGi gets integrated

[hibernate-dev] SearchFactory API exposes Class type for entity

2014-07-08 Thread Sanne Grinovero
When I started refactoring the Search code towards free-form I simply started to remove all references to Class and replace them with TypeIdentifier, essentially working only on hibernate-search-engine and closing the ORM integration modules which don't need to be affected. The SearchFactory inter