-->
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: Unknown entity with Criteria.scroll(), but not .list()
PostPosted: Fri Jun 20, 2008 4:58 pm 
Newbie

Joined: Sun Jan 13, 2008 1:13 pm
Posts: 9
If I create a Criteria on an interface that my mapped entity implements, I get a "org.hibernate.MappingException: Unknown entity" if I call .scroll() but not if I call .list(). .list() works.

This is Hibernate 3.2.6GA


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 03, 2009 7:55 am 
Newbie

Joined: Wed Nov 12, 2008 5:31 am
Posts: 7
hi, i have the same issue. the list() on an interface criteria works fine for me but with scroll() i get the same mapping exception. i am using hibernate-core 3.3.1. have you maybe solved this problem? do you know the reason for this behavior?
thanks in advance.


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.