public void validate(Mapping mapping) throws MappingException { 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 ); } }
Locale.ENGLISH, "Unable to locate entity table xref for entity [%s] super-type [%s]", entityDescriptor.getEntityName(), superEntityName ),
public void validate(Mapping mapping) throws MappingException { 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); } }
public void validate(Mapping mapping) throws MappingException { 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); } }
public void validate(Mapping mapping) throws MappingException { 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); } }
public void validate(Mapping mapping) throws MappingException { if(getDiscriminator()==null) { throw new MappingException("No discriminator found for " + getEntityName() + ". Discriminator is needed when 'single-table-per-hiearchy' is used and a class has subclasses"); } super.validate(mapping); } }
@Override public void validate() throws MappingException { 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(); } }
Locale.ENGLISH, "Unable to locate entity table xref for entity [%s] super-type [%s]", entityDescriptor.getEntityName(), superEntityName ),