Hi,
I'just introduced a new Class to an inheritance tree with InheritanceType.JOINED - the new Class has only very simple annotations, just like three other classes that work flawless:
@Entity
@Inheritance(strategy=InheritanceType.JOINED)
@InheritanceJoinColumn(name="unit_id")
public class Section extends Unit{
protected String test;
public String getTest() {
return test;
}
public void setTest(String test) {
this.test = test;
}
}
The new Class throws an exception when the configuration is processing foreign key constraints, it says:
Caused by: org.hibernate.MappingException: Could not determine type for: de.vierundsechzig.springer.model.structure.Section, for columns: [org.hibernate.mapping.Column(section)]
The other classes with similar annotations work without a flaw, only this one breaks. Does anyone have an idea about this exception?
thx&cheers
stf
|