Package org.hibernate.annotations

Examples of org.hibernate.annotations.ResultCheckStyle


    AnnotationValue callableValue = customSQLAnnotation.value( "callable" );
    if ( callableValue != null ) {
      isCallable = callableValue.asBoolean();
    }

    ResultCheckStyle checkStyle = ResultCheckStyle.NONE;
    AnnotationValue checkStyleValue = customSQLAnnotation.value( "check" );
    if ( checkStyleValue != null ) {
      checkStyle = Enum.valueOf( ResultCheckStyle.class, checkStyleValue.asEnum() );
    }

    return new CustomSQL(
        sql,
        isCallable,
        Enum.valueOf( ExecuteUpdateResultCheckStyle.class, checkStyle.toString() )
    );
  }
View Full Code Here


    AnnotationValue callableValue = customSQLAnnotation.value( "callable" );
    if ( callableValue != null ) {
      isCallable = callableValue.asBoolean();
    }

    ResultCheckStyle checkStyle = ResultCheckStyle.NONE;
    AnnotationValue checkStyleValue = customSQLAnnotation.value( "check" );
    if ( checkStyleValue != null ) {
      checkStyle = Enum.valueOf( ResultCheckStyle.class, checkStyleValue.asEnum() );
    }

    return new CustomSQL(
        sql,
        isCallable,
        Enum.valueOf( ExecuteUpdateResultCheckStyle.class, checkStyle.toString() )
    );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.annotations.ResultCheckStyle

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.