|
|
Not loading super class properties
I have updated my spring libraries to spring-framework-2.0-rc4.jar and also updated hibernate and ejb persistance liberaries
Previously i was using annotation @EmbededMappedSuperclass in superclass but it is changed to @MappedSuperclass
It works correctly for insertion but on selection it does not return super class properties in child class.
i'm geting records by using this function
getHibernateTemplate().get(baseModel.getClass(),id );
plz help
Hi, i faced the same problem. I updated my hibernate with hibernate-3.1.3.
And it gave me same problem.It works f9 while insert, but fetching did not provide me the super class properties value.As i put the primary key in the super class. |
|