Hi folks,
I'm trying to establish why Hibernate won't load a property--the property is mapped using the annotations API, and other properties on the same entity are loaded. Here's the relevant bit of my entity and the resulting SQL query.
Code:
@Column(name="HasSubSlots")
@Type(type="yes_no")
public boolean hasSubSlotSupport() {
return hasSubSlotSupport;
}
Code:
Hibernate:
/* load entities.DeviceModel */ select
devicemode0_.DevModel as DevModel1_0_,
devicemode0_.InvModelName as InvModel2_1_0_
from
DeviceModels devicemode0_
where
devicemode0_.DevModel=?
The missing column is not loaded at all. Any ideas why?