|
|
|
@ -483,6 +483,7 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
|
|
|
|
|
private Map querySubstitutions; |
|
|
|
|
private boolean strictJpaQueryLanguageCompliance; |
|
|
|
|
private boolean namedQueryStartupCheckingEnabled; |
|
|
|
|
private boolean conventionalJavaConstants; |
|
|
|
|
private final boolean procedureParameterNullPassingEnabled; |
|
|
|
|
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.strictJpaQueryLanguageCompliance = cfgService.getSetting( JPAQL_STRICT_COMPLIANCE, BOOLEAN, false ); |
|
|
|
|
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.collectionJoinSubqueryRewriteEnabled = cfgService.getSetting( COLLECTION_JOIN_SUBQUERY, BOOLEAN, true ); |
|
|
|
|
|
|
|
|
@ -851,6 +854,11 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
|
|
|
|
|
return namedQueryStartupCheckingEnabled; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean isConventionalJavaConstants() { |
|
|
|
|
return conventionalJavaConstants; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean isProcedureParameterNullPassingEnabled() { |
|
|
|
|
return procedureParameterNullPassingEnabled; |
|
|
|
@ -1132,6 +1140,10 @@ public class SessionFactoryBuilderImpl implements SessionFactoryBuilderImplement
|
|
|
|
|
return options.isNamedQueryStartupCheckingEnabled(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean isConventionalJavaConstants() { |
|
|
|
|
return options.isConventionalJavaConstants(); |
|
|
|
|
} |
|
|
|
|
@Override |
|
|
|
|
public boolean isProcedureParameterNullPassingEnabled() { |
|
|
|
|
return options.isProcedureParameterNullPassingEnabled(); |
|
|
|
|