-->
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.  [ 5 posts ] 
Author Message
 Post subject: ScrollableResults.scroll() returns error in 2.1.5
PostPosted: Thu Aug 05, 2004 9:56 am 
under 2.1.4, ScrollableResults.scroll() returns correct data but 2.1.5 returns incomplete entity, is there any special configuration?

thanks.


Top
  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 9:57 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Read the changelog.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 10:04 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
And read the read box if you have a question.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 6:35 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Actually, it is conceivable that there was a bug introduced in this, code that works on 1.2.4 should work in 1.2.5.

But as Christian said, you posted waaaay not enough information for us to be able to help you.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 9:14 pm 
sorry, it's my fault.
well, my environment:
table: player
field: id, firstname, lastname

code: ScrollableResults results = query.scroll();
results.get();

hibernate2.1.4: it returns an instance of Player with all fields.

hibernate2.1.5: it only returns instance of Player with id, other entity properties is null.

is there any other config?


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