-->
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.  [ 4 posts ] 
Author Message
 Post subject: [QuerySplitter] no persistent classes found for query class:
PostPosted: Wed May 17, 2006 5:30 am 
Newbie

Joined: Wed Feb 22, 2006 2:29 am
Posts: 5
I have been facing this problem since long time.

I have created an Enterprise Application using Struts, EJB(Session) and Hibernate.

I m trying to fire a simple SELECT query using Hibernate.

When i run the query in standalone class i am able to retrive the resultset.

However when I use the same in the EAR project it gives me a WARN[QuerySplitter] no persistent classes found for query class:

Kindly help..............

_________________
- 5thElement


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 17, 2006 5:40 am 
Pro
Pro

Joined: Mon Jan 24, 2005 5:39 am
Posts: 216
Location: Germany
This usually means that you query class has no mapping or
the mapping is not loaded. try to enable some hibernate logging
then you will see what mappings are loaded at startup.

_________________
dont forget to rate !


Top
 Profile  
 
 Post subject: WARN [QuerySplitter] no persistent classes found for query
PostPosted: Wed May 17, 2006 7:59 am 
Newbie

Joined: Wed Feb 22, 2006 2:29 am
Posts: 5
steckemetz wrote:
This usually means that you query class has no mapping or
the mapping is not loaded. try to enable some hibernate logging
then you will see what mappings are loaded at startup.



The query class mapping is done properly as I m able to persist the data using session.save().
If the class was not mapped, then I would have got an Exception on the query, here I m gettimg a WARN message.
The Hibernate logging is enable, however I m still not able to resolve this issue

_________________
- 5thElement


Top
 Profile  
 
 Post subject: WARN [QuerySplitter] no persistent classes found for query
PostPosted: Sat May 20, 2006 5:53 am 
Newbie

Joined: Wed Feb 22, 2006 2:29 am
Posts: 5
Finally I got the resolution to the problem...........
I was using Jboss App server. The only thing I did was to put the hibernate jar files in the lib folder of jboss default server.

_________________
- 5thElement


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