-->
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.  [ 1 post ] 
Author Message
 Post subject: bind queries don't find objects in session
PostPosted: Tue Apr 18, 2006 5:19 pm 
Newbie

Joined: Tue Apr 18, 2006 5:11 pm
Posts: 1
Hi,

We just moved from hibernate 2 to 3 and in doing so, updated all our queries to use bind variable queries instead of session.find.

The problem is, while processing a document with multiple records, we required the ability to look at both the db objects we have created in the preceding records as well as the db if none matching are found.

This worked fine with session.find, but it appears using the bind variable queries does not find the objects until the session is flushed which is not an option until the complete doc is processed. This is for performance reasons as flushing after each record is painfully slow.

Any ideas?

Michael


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

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.