-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate DetachedCriteria query
PostPosted: Wed Jul 09, 2008 9:22 am 
Newbie

Joined: Wed Jul 09, 2008 9:08 am
Posts: 2
Hello,

I am new to Hibernate. We are using hibernate 3.0. I am getting InstantiationException.

Here is my scenario:

We are retrieving data using DetachedCriteria Query API. In the DetachedCriteria we are passing the name of the abstract class. The abstract class has two join sub classes which are again abstract class. If we pass the name of concrete class then it is retrieving any data in the POJO class though the Query runs successfully.

Can anybody help us to figure out the issue?

It's very urgent.

Note: We are generating mapping file using XDoclet.

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.  [ 1 post ] 

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.