public class XMLValidator extends MetadataValidator
Constructor and Description |
---|
XMLValidator()
INTERNAL
|
throwBothFieldsAndPropertiesAnnotatedException, throwCircularMappedByReferences, throwClassNotFoundWhileConvertingClassNames, throwConflictingAccessTypeInEmbeddable, throwConflictingSequenceAndTableGeneratorsSpecified, throwConflictingSequenceGeneratorsSpecified, throwConflictingSequenceNameAndTablePkColumnValueSpecified, throwConflictingTableGeneratorsSpecified, throwCouldNotFindMapKey, throwEmbeddedIdHasNoAttributes, throwErrorProcessingNamedQueryAnnotation, throwIncorrectOverridingOfAccessType, throwInvalidCallbackMethod, throwInvalidCollectionTypeForRelationship, throwInvalidCompositePKAttribute, throwInvalidCompositePKSpecification, throwInvalidEmbeddableAttribute, throwInvalidEmbeddedAttribute, throwInvalidMappingEncountered, throwInvalidOrderByValue, throwInvalidTypeForEnumeratedAttribute, throwInvalidTypeForLOBAttribute, throwInvalidTypeForSerializedAttribute, throwInvalidTypeForTemporalAttribute, throwInvalidTypeForVersionAttribute, throwMappingAnnotationsAppliedToTransientAttribute, throwMappingFileNotFound, throwNoCorrespondingSetterMethodDefined, throwNonEntityTargetInRelationship, throwNonUniqueEntityName, throwNonUniqueMappingFileName, throwNoPrimaryKeyAnnotationsFound, throwOnlyOneGeneratedValueIsAllowed, throwTablePerClassInheritanceNotSupported, throwUnableToDetermineClassForField, throwUnableToDetermineClassForProperty, throwUnableToDetermineTargetEntity
public void throwEmbeddedIdAndIdFound(Class entityClass, String attributeName, String idAttributeName)
throwEmbeddedIdAndIdFound
in class MetadataValidator
public void throwErrorProcessingNamedQueryElement(String queryName, Exception exception)
public void throwExcessiveJoinColumnsSpecified(Class entityClass, Object element)
throwExcessiveJoinColumnsSpecified
in class MetadataValidator
public void throwExcessivePrimaryKeyJoinColumnsSpecified(Class entityClass, AnnotatedElement annotatedElement)
throwExcessivePrimaryKeyJoinColumnsSpecified
in class MetadataValidator
public void throwIncompleteJoinColumnsSpecified(Class entityClass, Object element)
throwIncompleteJoinColumnsSpecified
in class MetadataValidator
public void throwIncompletePrimaryKeyJoinColumnsSpecified(Class entityClass, AnnotatedElement annotatedElement)
throwIncompletePrimaryKeyJoinColumnsSpecified
in class MetadataValidator
public void throwMultipleEmbeddedIdsFound(Class entityClass, String attributeName, String embeddedIdAttributeName)
throwMultipleEmbeddedIdsFound
in class MetadataValidator
public void throwNoMappedByAttributeFound(Class owningClass, String owningAttributeName, Class entityClass, String attributeName)
throwNoMappedByAttributeFound
in class MetadataValidator
public void throwNoTemporalTypeSpecified(Class entityClass, String attributeName)
throwNoTemporalTypeSpecified
in class MetadataValidator
public void throwPersistenceUnitMetadataConflict(String element)
public void throwRelationshipHasColumnSpecified(Class entityClass, String attributeName)
throwRelationshipHasColumnSpecified
in class MetadataValidator
public void throwSequenceGeneratorUsingAReservedName(String document, String reservedName)
throwSequenceGeneratorUsingAReservedName
in class MetadataValidator
public void throwTableGeneratorUsingAReservedName(String document, String reservedName)
throwTableGeneratorUsingAReservedName
in class MetadataValidator
public void throwUniDirectionalOneToManyHasJoinColumnSpecified(String attributeName, Class entityClass)
throwUniDirectionalOneToManyHasJoinColumnSpecified
in class MetadataValidator
Copyright © 2024. All rights reserved.