Methods Summary |
---|
public java.lang.Object | accept(PersistentClassVisitor mv)
return mv.accept(this);
|
protected java.util.Iterator | getDiscriminatorColumnIterator()
if ( isDiscriminatorInsertable() && !getDiscriminator().hasFormula() ) {
return getDiscriminator().getColumnIterator();
}
else {
return super.getDiscriminatorColumnIterator();
}
|
protected java.util.Iterator | getNonDuplicatedPropertyIterator()
return new JoinedIterator(
getSuperclass().getUnjoinedPropertyIterator(),
getUnjoinedPropertyIterator()
);
|
public void | validate(org.hibernate.engine.Mapping mapping)
if(getDiscriminator()==null) {
throw new MappingException("No discriminator found for " + getEntityName() + ". Discriminator is needed when 'single-table-per-hierarchy' is used and a class has subclasses");
}
super.validate(mapping);
|