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: Queryable method isExplicitPolymorphism()
PostPosted: Mon Dec 08, 2008 11:41 pm 
Newbie

Joined: Mon Dec 08, 2008 11:22 pm
Posts: 1
version : 3.1
hello , i have a question
recently,i read the source of hibernate because my workmate have a question.
there are two entity : A and B
they all have hbm.
and A is subClass of B
only B.hbm.xml is in in the hibernate.cfg.xml

in database ,there are no columns in table A,and there are 918 columns in table B

when i use Criteria to search .


Criteria criteria = session.createCriteria(A.class))
List list = criteria.list();
the size of list is 918
i don't know why

then i see the hibernate code

when i see the Class SessionFactoryImpl
the method isExplicitPolymorphism() of Queryable
i don't know the mean .
who can help me ?


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.