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