Hi,
Say I have two classes called SuperClass and SubClass and they look like this:
Code:
class SuperClass {
private Date createDate;
public Date getCreateDate()...
public void setCreateDate(Date date)....
}
class SubClass extends SuperClass {
private String description;
.....
}
Now say I want to select all of my SubClass from the database with my createDates hydrated as well. I can't seem to get this createDate hydrated using my HQL below:
Code:
select subclass from SubClass as sc fetch all properties
Any ideas on how to select the SubClass with the createDate hydrated via HQL? Thanks.