-->
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.  [ 2 posts ] 
Author Message
 Post subject: Criterial Serialization and reconnect issue
PostPosted: Tue Oct 05, 2004 3:33 pm 
Newbie

Joined: Wed Sep 29, 2004 10:45 am
Posts: 6
Hibernate version:

Hibernate 2.1 and 3.0 alpha


I am developing an API and using Hibernate for ORM. I thought the Criteria API weas pretty flexible. I'd like to expose the criteria API to my clients, while doing so, I ran into the serialization issue with Criteria.

I have downloaded the source code for Hibernate 3.0 alpha. And tried to make the Criteria Serializable. But I have to disconnect the session before I can writeObject(criteria). And at the server side, I got a null SessionFactory.

Is there any other way I can pass my Criteria Object to the server?

Thanks,

zeng


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 06, 2004 7:53 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
I think Christian wanted to do something like that. Ckeck JIRA and vote for that

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.