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 ?
|