-->
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: Possible bug: named query not found when mapping package
PostPosted: Thu Jun 11, 2009 10:13 am 
Beginner
Beginner

Joined: Sat Feb 07, 2009 12:31 am
Posts: 21
Specs:
Hibernate 3.3.1.GA
Anon 3.4.0.GA
EM 3.4.0.GA

I tried using "mapping package" instead of "mapping class" in my hibernate configuration to ease the listing of annotated entities. But doing so makes named query unresolvable. Otherwise there's no problem.

I'm getting something like this:
Code:
java.lang.IllegalArgumentException: Named query not found: MyNamedQuery


Is this behaviour normal or is it a bug?

Kind regards,

Unreal

_________________
A good framework is hard to misuse or it's obvious when you misuse it.


Top
 Profile  
 
 Post subject: Re: Possible bug: named query not found when mapping package
PostPosted: Sun Jun 28, 2009 10:52 pm 
Beginner
Beginner

Joined: Sat Feb 07, 2009 12:31 am
Posts: 21
BUMP!!!!

_________________
A good framework is hard to misuse or it's obvious when you misuse it.


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.