@ -483,6 +483,7 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
private Map querySubstitutions ;
private Map querySubstitutions ;
private boolean strictJpaQueryLanguageCompliance ;
private boolean strictJpaQueryLanguageCompliance ;
private boolean namedQueryStartupCheckingEnabled ;
private boolean namedQueryStartupCheckingEnabled ;
private boolean conventionalJavaConstants ;
private final boolean procedureParameterNullPassingEnabled ;
private final boolean procedureParameterNullPassingEnabled ;
private final boolean collectionJoinSubqueryRewriteEnabled ;
private final boolean collectionJoinSubqueryRewriteEnabled ;
@ -600,6 +601,8 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
this . querySubstitutions = ConfigurationHelper . toMap ( QUERY_SUBSTITUTIONS , " ,=;:\n\t\r\f" , configurationSettings ) ;
this . querySubstitutions = ConfigurationHelper . toMap ( QUERY_SUBSTITUTIONS , " ,=;:\n\t\r\f" , configurationSettings ) ;
this . strictJpaQueryLanguageCompliance = cfgService . getSetting ( JPAQL_STRICT_COMPLIANCE , BOOLEAN , false ) ;
this . strictJpaQueryLanguageCompliance = cfgService . getSetting ( JPAQL_STRICT_COMPLIANCE , BOOLEAN , false ) ;
this . namedQueryStartupCheckingEnabled = cfgService . getSetting ( QUERY_STARTUP_CHECKING , BOOLEAN , true ) ;
this . namedQueryStartupCheckingEnabled = cfgService . getSetting ( QUERY_STARTUP_CHECKING , BOOLEAN , true ) ;
this . conventionalJavaConstants = cfgService . getSetting (
CONVENTIONAL_JAVA_CONSTANTS , BOOLEAN , true ) ;
this . procedureParameterNullPassingEnabled = cfgService . getSetting ( PROCEDURE_NULL_PARAM_PASSING , BOOLEAN , false ) ;
this . procedureParameterNullPassingEnabled = cfgService . getSetting ( PROCEDURE_NULL_PARAM_PASSING , BOOLEAN , false ) ;
this . collectionJoinSubqueryRewriteEnabled = cfgService . getSetting ( COLLECTION_JOIN_SUBQUERY , BOOLEAN , true ) ;
this . collectionJoinSubqueryRewriteEnabled = cfgService . getSetting ( COLLECTION_JOIN_SUBQUERY , BOOLEAN , true ) ;
@ -851,6 +854,11 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
return namedQueryStartupCheckingEnabled ;
return namedQueryStartupCheckingEnabled ;
}
}
@Override
public boolean isConventionalJavaConstants ( ) {
return conventionalJavaConstants ;
}
@Override
@Override
public boolean isProcedureParameterNullPassingEnabled ( ) {
public boolean isProcedureParameterNullPassingEnabled ( ) {
return procedureParameterNullPassingEnabled ;
return procedureParameterNullPassingEnabled ;
@ -1132,6 +1140,10 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
return options . isNamedQueryStartupCheckingEnabled ( ) ;
return options . isNamedQueryStartupCheckingEnabled ( ) ;
}
}
@Override
public boolean isConventionalJavaConstants ( ) {
return options . isConventionalJavaConstants ( ) ;
}
@Override
@Override
public boolean isProcedureParameterNullPassingEnabled ( ) {
public boolean isProcedureParameterNullPassingEnabled ( ) {
return options . isProcedureParameterNullPassingEnabled ( ) ;
return options . isProcedureParameterNullPassingEnabled ( ) ;