-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Query.list() returns unserializable RandomAccessSubList ?!
PostPosted: Tue Mar 08, 2005 8:56 am 
Newbie

Joined: Fri Sep 17, 2004 3:07 pm
Posts: 14
Hi,

Is it normal for Hibernate to return unserializable objects as query results, or is this something that can be configured ?

I have the usual multi-tiered architecture Struts-SLSEJB-Hibernate-MySQL. Noticed the exception below when trying to return query results through an EJB (remote) interface, requiring serialization in between.

Since I'm not using separate DTO:s but detached Hibernate-persisted classes throughout tiers, this brings trouble to my MVC HttpSession cache as well. Started noticing this around 3.0beta2 or so...


The resulting ArrayList seems to be wrapped in a RandomAccessSubList ??

Thanks in advance,

//markku

Java SDK

1.4.2_06 .

Hibernate version:

3.0rc

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:
java.io.NotSerializableException: java.util.RandomAccessSubList
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at java.rmi.MarshalledObject.<init>(MarshalledObject.java:92)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:364)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)
at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
at $Proxy1.getFolderDocuments(Unknown Source)
at fi.documenta.dng.domain.doc.DocumentDelegate.getFolderDocuments(DocumentDelegate.java:138)
at fi.documenta.dng.domain.doc.test.TestDocumentSFC.testGetFolderDocuments(TestDocumentSFC.java:267)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Name and version of the database you are using:

MySQL 4.1.7

The generated SQL (show_sql=true):

2005-03-08 14:00:24,845 DEBUG [fi.documenta.dng.domain.doc.DocumentSFCProxyImpl] Entering method getFolderDocuments(fi.documenta.dng.domain.doc.DocumentCriteria null, int 1, boolean, [Ljava.lang.String;).
2005-03-08 14:00:33,458 DEBUG [hql.parser] throwQueryException() : no errors
2005-03-08 14:00:33,468 DEBUG [hql.parser] throwQueryException() : no errors
2005-03-08 14:00:33,468 DEBUG [hql.parser] throwQueryException() : no errors
2005-03-08 14:00:33,478 INFO [STDOUT] Hibernate: select documentre0_.ID as ID0_, accesscont2_.id as id1_, documentve4_.ID as ID2_, documentre0_.referred_document_id as referred2_6_0_, documentre0_.referring_documentgroup_id as referring3_6_0_, documentre0_.referring_document_id as referring4_6_0_, documentre0_.type as type6_0_, accesscont2_.negative_permissions as negative2_7_1_, accesscont2_.immutable_principal_name as immutable3_7_1_, accesscont2_.is_draft as is4_7_1_, accesscont2_.document_id as document5_7_1_, accesscont2_.document_id as document5___, accesscont2_.id as id__, documentve4_.FILE_NAME as FILE2_2_2_, documentve4_.FILE_SIZE as FILE3_2_2_, documentve4_.ORIGINAL_AUTHOR as ORIGINAL4_2_2_, documentve4_.CREATION_DATE as CREATION5_2_2_, documentve4_.CHANGE_DATE as CHANGE6_2_2_, documentve4_.DOC_NAME as DOC7_2_2_, documentve4_.USER_VERSION as USER8_2_2_, documentve4_.VERSION as VERSION2_2_, documentve4_.IS_DRAFT as IS10_2_2_, documentve4_.AUTHORIZATION as AUTHORI11_2_2_, documentve4_.ARRIVAL_DATE as ARRIVAL12_2_2_, documentve4_.TRANSIT_STATUS as TRANSIT13_2_2_, documentve4_.TYPE as TYPE2_2_, documentve4_.LOCKED_BY_USER as LOCKED15_2_2_, documentve4_.LOCKED_SINCE as LOCKED16_2_2_, documentve4_.EXTERNAL_ID as EXTERNAL17_2_2_, documentve4_.MIME_TYPE as MIME18_2_2_, documentve4_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_2_, documentve4_.DOCUMENT_ID as DOCUMENT20_2_2_ from documentreference documentre0_ inner join document documenten1_ on documentre0_.referred_document_id=documenten1_.ID inner join document_acl_entry accesscont2_ on documenten1_.ID=accesscont2_.document_id inner join documentversion documentve4_ on documenten1_.LATEST_DOC_VERSION_ID=documentve4_.ID where (documentre0_.referring_documentgroup_id=?) limit ?
2005-03-08 14:00:33,558 INFO [STDOUT] Hibernate: select documenten0_.ID as ID4_, documenten0_.CREATION_DATE as CREATION2_1_4_, documenten0_.DOCUMENT_NAME as DOCUMENT3_1_4_, documenten0_.LATEST_DOC_VERSION_ID as LATEST4_1_4_, documenten0_.LATEST_READY_VERSION_ID as LATEST5_1_4_, accesscont1_.document_id as document5___, accesscont1_.id as id__, accesscont1_.id as id0_, accesscont1_.negative_permissions as negative2_7_0_, accesscont1_.immutable_principal_name as immutable3_7_0_, accesscont1_.is_draft as is4_7_0_, accesscont1_.document_id as document5_7_0_, documentve2_.ID as ID1_, documentve2_.FILE_NAME as FILE2_2_1_, documentve2_.FILE_SIZE as FILE3_2_1_, documentve2_.ORIGINAL_AUTHOR as ORIGINAL4_2_1_, documentve2_.CREATION_DATE as CREATION5_2_1_, documentve2_.CHANGE_DATE as CHANGE6_2_1_, documentve2_.DOC_NAME as DOC7_2_1_, documentve2_.USER_VERSION as USER8_2_1_, documentve2_.VERSION as VERSION2_1_, documentve2_.IS_DRAFT as IS10_2_1_, documentve2_.AUTHORIZATION as AUTHORI11_2_1_, documentve2_.ARRIVAL_DATE as ARRIVAL12_2_1_, documentve2_.TRANSIT_STATUS as TRANSIT13_2_1_, documentve2_.TYPE as TYPE2_1_, documentve2_.LOCKED_BY_USER as LOCKED15_2_1_, documentve2_.LOCKED_SINCE as LOCKED16_2_1_, documentve2_.EXTERNAL_ID as EXTERNAL17_2_1_, documentve2_.MIME_TYPE as MIME18_2_1_, documentve2_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_1_, documentve2_.DOCUMENT_ID as DOCUMENT20_2_1_, documenten3_.ID as ID2_, documenten3_.CREATION_DATE as CREATION2_1_2_, documenten3_.DOCUMENT_NAME as DOCUMENT3_1_2_, documenten3_.LATEST_DOC_VERSION_ID as LATEST4_1_2_, documenten3_.LATEST_READY_VERSION_ID as LATEST5_1_2_, documentve4_.ID as ID3_, documentve4_.FILE_NAME as FILE2_2_3_, documentve4_.FILE_SIZE as FILE3_2_3_, documentve4_.ORIGINAL_AUTHOR as ORIGINAL4_2_3_, documentve4_.CREATION_DATE as CREATION5_2_3_, documentve4_.CHANGE_DATE as CHANGE6_2_3_, documentve4_.DOC_NAME as DOC7_2_3_, documentve4_.USER_VERSION as USER8_2_3_, documentve4_.VERSION as VERSION2_3_, documentve4_.IS_DRAFT as IS10_2_3_, documentve4_.AUTHORIZATION as AUTHORI11_2_3_, documentve4_.ARRIVAL_DATE as ARRIVAL12_2_3_, documentve4_.TRANSIT_STATUS as TRANSIT13_2_3_, documentve4_.TYPE as TYPE2_3_, documentve4_.LOCKED_BY_USER as LOCKED15_2_3_, documentve4_.LOCKED_SINCE as LOCKED16_2_3_, documentve4_.EXTERNAL_ID as EXTERNAL17_2_3_, documentve4_.MIME_TYPE as MIME18_2_3_, documentve4_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_3_, documentve4_.DOCUMENT_ID as DOCUMENT20_2_3_ from document documenten0_ left outer join document_acl_entry accesscont1_ on documenten0_.ID=accesscont1_.document_id left outer join documentversion documentve2_ on documenten0_.LATEST_DOC_VERSION_ID=documentve2_.ID left outer join document documenten3_ on documentve2_.DOCUMENT_ID=documenten3_.ID left outer join documentversion documentve4_ on documenten0_.LATEST_READY_VERSION_ID=documentve4_.ID where documenten0_.ID=?
2005-03-08 14:00:33,638 INFO [STDOUT] Hibernate: select documenten0_.ID as ID4_, documenten0_.CREATION_DATE as CREATION2_1_4_, documenten0_.DOCUMENT_NAME as DOCUMENT3_1_4_, documenten0_.LATEST_DOC_VERSION_ID as LATEST4_1_4_, documenten0_.LATEST_READY_VERSION_ID as LATEST5_1_4_, accesscont1_.document_id as document5___, accesscont1_.id as id__, accesscont1_.id as id0_, accesscont1_.negative_permissions as negative2_7_0_, accesscont1_.immutable_principal_name as immutable3_7_0_, accesscont1_.is_draft as is4_7_0_, accesscont1_.document_id as document5_7_0_, documentve2_.ID as ID1_, documentve2_.FILE_NAME as FILE2_2_1_, documentve2_.FILE_SIZE as FILE3_2_1_, documentve2_.ORIGINAL_AUTHOR as ORIGINAL4_2_1_, documentve2_.CREATION_DATE as CREATION5_2_1_, documentve2_.CHANGE_DATE as CHANGE6_2_1_, documentve2_.DOC_NAME as DOC7_2_1_, documentve2_.USER_VERSION as USER8_2_1_, documentve2_.VERSION as VERSION2_1_, documentve2_.IS_DRAFT as IS10_2_1_, documentve2_.AUTHORIZATION as AUTHORI11_2_1_, documentve2_.ARRIVAL_DATE as ARRIVAL12_2_1_, documentve2_.TRANSIT_STATUS as TRANSIT13_2_1_, documentve2_.TYPE as TYPE2_1_, documentve2_.LOCKED_BY_USER as LOCKED15_2_1_, documentve2_.LOCKED_SINCE as LOCKED16_2_1_, documentve2_.EXTERNAL_ID as EXTERNAL17_2_1_, documentve2_.MIME_TYPE as MIME18_2_1_, documentve2_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_1_, documentve2_.DOCUMENT_ID as DOCUMENT20_2_1_, documenten3_.ID as ID2_, documenten3_.CREATION_DATE as CREATION2_1_2_, documenten3_.DOCUMENT_NAME as DOCUMENT3_1_2_, documenten3_.LATEST_DOC_VERSION_ID as LATEST4_1_2_, documenten3_.LATEST_READY_VERSION_ID as LATEST5_1_2_, documentve4_.ID as ID3_, documentve4_.FILE_NAME as FILE2_2_3_, documentve4_.FILE_SIZE as FILE3_2_3_, documentve4_.ORIGINAL_AUTHOR as ORIGINAL4_2_3_, documentve4_.CREATION_DATE as CREATION5_2_3_, documentve4_.CHANGE_DATE as CHANGE6_2_3_, documentve4_.DOC_NAME as DOC7_2_3_, documentve4_.USER_VERSION as USER8_2_3_, documentve4_.VERSION as VERSION2_3_, documentve4_.IS_DRAFT as IS10_2_3_, documentve4_.AUTHORIZATION as AUTHORI11_2_3_, documentve4_.ARRIVAL_DATE as ARRIVAL12_2_3_, documentve4_.TRANSIT_STATUS as TRANSIT13_2_3_, documentve4_.TYPE as TYPE2_3_, documentve4_.LOCKED_BY_USER as LOCKED15_2_3_, documentve4_.LOCKED_SINCE as LOCKED16_2_3_, documentve4_.EXTERNAL_ID as EXTERNAL17_2_3_, documentve4_.MIME_TYPE as MIME18_2_3_, documentve4_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_3_, documentve4_.DOCUMENT_ID as DOCUMENT20_2_3_ from document documenten0_ left outer join document_acl_entry accesscont1_ on documenten0_.ID=accesscont1_.document_id left outer join documentversion documentve2_ on documenten0_.LATEST_DOC_VERSION_ID=documentve2_.ID left outer join document documenten3_ on documentve2_.DOCUMENT_ID=documenten3_.ID left outer join documentversion documentve4_ on documenten0_.LATEST_READY_VERSION_ID=documentve4_.ID where documenten0_.ID=?
2005-03-08 14:00:33,718 INFO [STDOUT] Hibernate: select documenten0_.ID as ID4_, documenten0_.CREATION_DATE as CREATION2_1_4_, documenten0_.DOCUMENT_NAME as DOCUMENT3_1_4_, documenten0_.LATEST_DOC_VERSION_ID as LATEST4_1_4_, documenten0_.LATEST_READY_VERSION_ID as LATEST5_1_4_, accesscont1_.document_id as document5___, accesscont1_.id as id__, accesscont1_.id as id0_, accesscont1_.negative_permissions as negative2_7_0_, accesscont1_.immutable_principal_name as immutable3_7_0_, accesscont1_.is_draft as is4_7_0_, accesscont1_.document_id as document5_7_0_, documentve2_.ID as ID1_, documentve2_.FILE_NAME as FILE2_2_1_, documentve2_.FILE_SIZE as FILE3_2_1_, documentve2_.ORIGINAL_AUTHOR as ORIGINAL4_2_1_, documentve2_.CREATION_DATE as CREATION5_2_1_, documentve2_.CHANGE_DATE as CHANGE6_2_1_, documentve2_.DOC_NAME as DOC7_2_1_, documentve2_.USER_VERSION as USER8_2_1_, documentve2_.VERSION as VERSION2_1_, documentve2_.IS_DRAFT as IS10_2_1_, documentve2_.AUTHORIZATION as AUTHORI11_2_1_, documentve2_.ARRIVAL_DATE as ARRIVAL12_2_1_, documentve2_.TRANSIT_STATUS as TRANSIT13_2_1_, documentve2_.TYPE as TYPE2_1_, documentve2_.LOCKED_BY_USER as LOCKED15_2_1_, documentve2_.LOCKED_SINCE as LOCKED16_2_1_, documentve2_.EXTERNAL_ID as EXTERNAL17_2_1_, documentve2_.MIME_TYPE as MIME18_2_1_, documentve2_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_1_, documentve2_.DOCUMENT_ID as DOCUMENT20_2_1_, documenten3_.ID as ID2_, documenten3_.CREATION_DATE as CREATION2_1_2_, documenten3_.DOCUMENT_NAME as DOCUMENT3_1_2_, documenten3_.LATEST_DOC_VERSION_ID as LATEST4_1_2_, documenten3_.LATEST_READY_VERSION_ID as LATEST5_1_2_, documentve4_.ID as ID3_, documentve4_.FILE_NAME as FILE2_2_3_, documentve4_.FILE_SIZE as FILE3_2_3_, documentve4_.ORIGINAL_AUTHOR as ORIGINAL4_2_3_, documentve4_.CREATION_DATE as CREATION5_2_3_, documentve4_.CHANGE_DATE as CHANGE6_2_3_, documentve4_.DOC_NAME as DOC7_2_3_, documentve4_.USER_VERSION as USER8_2_3_, documentve4_.VERSION as VERSION2_3_, documentve4_.IS_DRAFT as IS10_2_3_, documentve4_.AUTHORIZATION as AUTHORI11_2_3_, documentve4_.ARRIVAL_DATE as ARRIVAL12_2_3_, documentve4_.TRANSIT_STATUS as TRANSIT13_2_3_, documentve4_.TYPE as TYPE2_3_, documentve4_.LOCKED_BY_USER as LOCKED15_2_3_, documentve4_.LOCKED_SINCE as LOCKED16_2_3_, documentve4_.EXTERNAL_ID as EXTERNAL17_2_3_, documentve4_.MIME_TYPE as MIME18_2_3_, documentve4_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_3_, documentve4_.DOCUMENT_ID as DOCUMENT20_2_3_ from document documenten0_ left outer join document_acl_entry accesscont1_ on documenten0_.ID=accesscont1_.document_id left outer join documentversion documentve2_ on documenten0_.LATEST_DOC_VERSION_ID=documentve2_.ID left outer join document documenten3_ on documentve2_.DOCUMENT_ID=documenten3_.ID left outer join documentversion documentve4_ on documenten0_.LATEST_READY_VERSION_ID=documentve4_.ID where documenten0_.ID=?
2005-03-08 14:00:33,798 INFO [STDOUT] Hibernate: select documenten0_.ID as ID4_, documenten0_.CREATION_DATE as CREATION2_1_4_, documenten0_.DOCUMENT_NAME as DOCUMENT3_1_4_, documenten0_.LATEST_DOC_VERSION_ID as LATEST4_1_4_, documenten0_.LATEST_READY_VERSION_ID as LATEST5_1_4_, accesscont1_.document_id as document5___, accesscont1_.id as id__, accesscont1_.id as id0_, accesscont1_.negative_permissions as negative2_7_0_, accesscont1_.immutable_principal_name as immutable3_7_0_, accesscont1_.is_draft as is4_7_0_, accesscont1_.document_id as document5_7_0_, documentve2_.ID as ID1_, documentve2_.FILE_NAME as FILE2_2_1_, documentve2_.FILE_SIZE as FILE3_2_1_, documentve2_.ORIGINAL_AUTHOR as ORIGINAL4_2_1_, documentve2_.CREATION_DATE as CREATION5_2_1_, documentve2_.CHANGE_DATE as CHANGE6_2_1_, documentve2_.DOC_NAME as DOC7_2_1_, documentve2_.USER_VERSION as USER8_2_1_, documentve2_.VERSION as VERSION2_1_, documentve2_.IS_DRAFT as IS10_2_1_, documentve2_.AUTHORIZATION as AUTHORI11_2_1_, documentve2_.ARRIVAL_DATE as ARRIVAL12_2_1_, documentve2_.TRANSIT_STATUS as TRANSIT13_2_1_, documentve2_.TYPE as TYPE2_1_, documentve2_.LOCKED_BY_USER as LOCKED15_2_1_, documentve2_.LOCKED_SINCE as LOCKED16_2_1_, documentve2_.EXTERNAL_ID as EXTERNAL17_2_1_, documentve2_.MIME_TYPE as MIME18_2_1_, documentve2_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_1_, documentve2_.DOCUMENT_ID as DOCUMENT20_2_1_, documenten3_.ID as ID2_, documenten3_.CREATION_DATE as CREATION2_1_2_, documenten3_.DOCUMENT_NAME as DOCUMENT3_1_2_, documenten3_.LATEST_DOC_VERSION_ID as LATEST4_1_2_, documenten3_.LATEST_READY_VERSION_ID as LATEST5_1_2_, documentve4_.ID as ID3_, documentve4_.FILE_NAME as FILE2_2_3_, documentve4_.FILE_SIZE as FILE3_2_3_, documentve4_.ORIGINAL_AUTHOR as ORIGINAL4_2_3_, documentve4_.CREATION_DATE as CREATION5_2_3_, documentve4_.CHANGE_DATE as CHANGE6_2_3_, documentve4_.DOC_NAME as DOC7_2_3_, documentve4_.USER_VERSION as USER8_2_3_, documentve4_.VERSION as VERSION2_3_, documentve4_.IS_DRAFT as IS10_2_3_, documentve4_.AUTHORIZATION as AUTHORI11_2_3_, documentve4_.ARRIVAL_DATE as ARRIVAL12_2_3_, documentve4_.TRANSIT_STATUS as TRANSIT13_2_3_, documentve4_.TYPE as TYPE2_3_, documentve4_.LOCKED_BY_USER as LOCKED15_2_3_, documentve4_.LOCKED_SINCE as LOCKED16_2_3_, documentve4_.EXTERNAL_ID as EXTERNAL17_2_3_, documentve4_.MIME_TYPE as MIME18_2_3_, documentve4_.DOCUMENT_CONTENTS_ID as DOCUMENT19_2_3_, documentve4_.DOCUMENT_ID as DOCUMENT20_2_3_ from document documenten0_ left outer join document_acl_entry accesscont1_ on documenten0_.ID=accesscont1_.document_id left outer join documentversion documentve2_ on documenten0_.LATEST_DOC_VERSION_ID=documentve2_.ID left outer join document documenten3_ on documentve2_.DOCUMENT_ID=documenten3_.ID left outer join documentversion documentve4_ on documenten0_.LATEST_READY_VERSION_ID=documentve4_.ID where documenten0_.ID=?
2005-03-08 14:00:33,858 INFO [STDOUT] Hibernate: select permission0_.acl_id as acl3___, permission0_.id as id__, permission0_.id as id0_, permission0_.permission_type as permission2_8_0_, permission0_.acl_id as acl3_8_0_ from document_permission permission0_ where permission0_.acl_id in (?, ?, ?, ?, ?, ?, ?)
2005-03-08 14:00:33,888 INFO [STDOUT] Hibernate: select permission0_.acl_id as acl3___, permission0_.id as id__, permission0_.id as id0_, permission0_.permission_type as permission2_8_0_, permission0_.acl_id as acl3_8_0_ from document_permission permission0_ where permission0_.acl_id in (?, ?, ?)
2005-03-08 14:00:33,908 INFO [STDOUT] Hibernate: select permission0_.acl_id as acl3___, permission0_.id as id__, permission0_.id as id0_, permission0_.permission_type as permission2_8_0_, permission0_.acl_id as acl3_8_0_ from document_permission permission0_ where permission0_.acl_id in (?, ?)
2005-03-08 14:02:31,443 DEBUG [hql.parser] throwQueryException() : no errors
2005-03-08 14:02:31,453 DEBUG [hql.parser] throwQueryException() : no errors
2005-03-08 14:02:31,453 DEBUG [hql.parser] throwQueryException() : no errors
2005-03-08 14:02:31,483 INFO [STDOUT] Hibernate: select count(documentre0_.ID) as col_0_0_ from documentreference documentre0_ inner join document documenten1_ on documentre0_.referred_document_id=documenten1_.ID inner join document_acl_entry accesscont2_ on documenten1_.ID=accesscont2_.document_id inner join documentversion documentve4_ on documenten1_.LATEST_DOC_VERSION_ID=documentve4_.ID where (documentre0_.referring_documentgroup_id=?)
2005-03-08 14:02:39,185 DEBUG [fi.documenta.dng.domain.doc.DocumentSFCProxyImpl] Exiting method getFolderDocuments(fi.documenta.dng.domain.doc.DocumentCriteria null, int 1, boolean, [Ljava.lang.String;) after 134 340 ms.

(NOTE: control then passes to a dynamic Proxy layer and eventually to JBoss EJB Container. Apparently the problems occur when JBoss starts serializing the stuff...)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 08, 2005 11:03 am 
Newbie

Joined: Fri Sep 17, 2004 3:07 pm
Posts: 14
From the javadocs I found, the RandomAccessSubList looks like an unserializable package private class internal to the JDK as as part of the Hibernate query results. How come. Anybody else getting this ?


In a non-hibernate context, somebody else had a problem with this class, but I'm not sure if the answers are relevant:

http://forum.java.sun.com/thread.jspa?t ... ID=2956601

//markku


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 10, 2005 9:42 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Please post this request to JIRA

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.