• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and polymorphism

 
Sanket L Shah
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am developing one application using Hibernate.
I am facing one problem with abstract class....

I have one class whish contain one Abstract class instance..
I mean its a has a relation...



My Hibernate Query is :
Query = "from A a left join fetch B b";

OR I write

Query = "from A a left join fetch testOne one";


Please help me...

Thank you all...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic