Examples of RelationDescription


Examples of org.hibernate.envers.internal.entities.RelationDescription

  }

  public static RelationDescription getRelatedEntity(
      AuditConfiguration verCfg, String entityName,
      String propertyName) throws AuditException {
    RelationDescription relationDesc = verCfg.getEntCfg().getRelationDescription( entityName, propertyName );

    if ( relationDesc == null ) {
      return null;
    }

    if ( relationDesc.getRelationType() == RelationType.TO_ONE ) {
      return relationDesc;
    }

    throw new AuditException(
        "This type of relation (" + entityName + "." + propertyName +
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.