[hibernate-dev] trying to serialize an extended persistence context and not yet serializable errors with Hiberante 4.0.0.CR7 ...

Scott Marlow smarlow at redhat.com
Wed Dec 14 21:10:41 EST 2011


Jira is HHH-6897 but does not yet contain the better explanation (does 
contain the problem, which is enough to create the jira with).

On 12/14/2011 08:57 PM, Scott Marlow wrote:
> http://pastie.org/3018879 describes some of the things that I see that
> are not serializable from the StandardServiceRegistryImpl.
>
> I'll create a jira for this but I'm not yet sure of the fix release.  I
> also would like to frame this better.  I'm rambling in this email thread
> to myself and anyone that wants to follow.  I'll try to explain better
> in the jira. ;)
>
> On 12/14/2011 07:58 PM, Scott Marlow wrote:
>> I'm trying to serialize an extended persistence context from an AS7 unit
>> test, which involves serializing whatever
>> org.hibernate.service.internal.StandardServiceRegistryImpl.wroteObject
>> includes.
>>
>> I started getting working on this last night and have worked through the
>> AS7 ModuleClassLoader and DataSource objects so far.  The next
>> NotSerializableException is for the
>> org.hibernate.service.internal.StandardServiceRegistryImpl instance.
>>
>> The exception call stack is here http://pastie.org/3018508
>>
>> I just wanted to let people know that I'm investigating this.
>>
>> Scott
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev




More information about the hibernate-dev mailing list