-->
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: criteria over rmi
PostPosted: Mon Oct 25, 2004 12:22 pm 
Beginner
Beginner

Joined: Thu Oct 14, 2004 9:50 am
Posts: 43
Hello all,
I would like to allow access to a remote database via rmi, using hibernate as the orm.
The client has several ways to query to the server, unfortunately, the most OO way (the criteria interface), does not implement serializable, so i'm forced to make the client write either hql or sql, neither of which i think is a right way to go.
Is there any way for me to hand over a criteria from the client to the server, or am i stuck with making the user write xQL?

thank you,

| eg |


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 25, 2004 1:40 pm 
Beginner
Beginner

Joined: Thu Oct 14, 2004 9:50 am
Posts: 43
There seems to be a similiar problem with executing a sql query, with net.sf.hibernate.impl.SQLQueryImpl not being serializable.
This really paints me into a corner.


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.