-->
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: Example class loads associations?!
PostPosted: Tue Apr 20, 2004 8:01 am 
Newbie

Joined: Thu Feb 12, 2004 12:21 pm
Posts: 13
Location: Hungary
hi,

In the documentation I've read at http://www.hibernate.org/hib_docs/reference/html/query-criteria.html

Quote:
Version properties, identifiers and associations are ignored.


However when I set show_sql and check what's going on, it selects all my many-to-many associaton tables - eating up loads of response time - , regardles that I've have set the Example.excludeProperty(string) to exclude association properties.

I have Hibernate2.1.2 on JBoss3.

How to make hibernate not to select associations?

looking for your help.

regards,
Thomas


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 20, 2004 8:45 am 
Newbie

Joined: Thu Feb 12, 2004 12:21 pm
Posts: 13
Location: Hungary
hi,

I've solved it. I had some issues with lazy loading.

bye,
Thomas


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.