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: Query Abstract Class
PostPosted: Mon Oct 13, 2003 4:32 pm 
Newbie

Joined: Mon Oct 13, 2003 4:15 pm
Posts: 4
I have a parent Abstract class that has information that I need.

I would like to query just this abstract class. Is it possible?

I am getting this error: Cannot instantiate abstract class or interface:

All of the child classes are joined-subclasses.


What's the trick if any?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 13, 2003 7:05 pm 
Pro
Pro

Joined: Tue Aug 26, 2003 8:07 pm
Posts: 229
Location: Brisbane, Australia
You might need to show your HQL.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 14, 2003 7:17 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
java code? stack trace?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2003 9:30 am 
Newbie

Joined: Mon Oct 13, 2003 4:15 pm
Posts: 4
Hey Guys, sorry so late.

I found the problem. I had one record in the database that was corrupted. Someone added the record by hand, instead of going through the application. Once I found it and removed that one record, everything works as it should.

I apologize and thanks for a great site, and resource.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 25, 2006 1:42 pm 
Newbie

Joined: Tue Apr 25, 2006 12:04 pm
Posts: 10
Location: Buenos Aires
Herk wrote:
Hey Guys, sorry so late.

I found the problem. I had one record in the database that was corrupted. Someone added the record by hand, instead of going through the application. Once I found it and removed that one record, everything works as it should.

I apologize and thanks for a great site, and resource.


I had the same error....and the same solution, somebody corrupted the data. Once I removed all records all were ok


Top
 Profile  
 
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.