Package org.hibernate.metamodel.source.annotations.entity

Examples of org.hibernate.metamodel.source.annotations.entity.ColumnValues


  private String comment;
  private Set<String> uniqueKeys = new HashSet<String>();


  public ColumnRelationalStateImpl(SimpleAttribute attribute, MetadataImplementor meta) {
    ColumnValues columnValues = attribute.getColumnValues();
    namingStrategy = meta.getOptions().getNamingStrategy();
    columnName = columnValues.getName().isEmpty() ? attribute.getName() : columnValues.getName();
    unique = columnValues.isUnique();
    nullable = columnValues.isNullable();
    size = createSize( columnValues.getLength(), columnValues.getScale(), columnValues.getPrecision() );
    checkCondition = parseCheckAnnotation( attribute );
    indexes = parseIndexAnnotation( attribute );

    String[] readWrite;
    List<AnnotationInstance> columnTransformerAnnotations = getAllColumnTransformerAnnotations( attribute );
View Full Code Here

TOP

Related Classes of org.hibernate.metamodel.source.annotations.entity.ColumnValues

Copyright © 2018 www.massapicom. 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.