Top Description Fields Constructors Methods
org.eclipse.persistence.platform.database

public Class DB2ZPlatform

extends DB2Platform
Class Inheritance
Imports
java.io.ByteArrayInputStream, .CharArrayReader, .StringWriter, java.lang.reflect.Method, java.math.BigDecimal, .BigInteger, java.security.AccessController, .PrivilegedActionException, java.sql.CallableStatement, .SQLException, java.util.Calendar, .Collection, .Hashtable, .List, org.eclipse.persistence.expressions.Expression, .ExpressionOperator, org.eclipse.persistence.internal.databaseaccess.BindCallCustomParameter, .DatasourceCall, .DatasourceCall.ParameterType, .FieldTypeDefinition, org.eclipse.persistence.internal.expressions.CollectionExpression, .ConstantExpression, .ExpressionJavaPrinter, .ExpressionSQLPrinter, .ParameterExpression, org.eclipse.persistence.internal.helper.ClassConstants, .DatabaseField, .Helper, org.eclipse.persistence.internal.security.PrivilegedAccessHelper, .PrivilegedClassForName, .PrivilegedGetContextClassLoader, .PrivilegedGetMethod, .PrivilegedMethodInvoker, org.eclipse.persistence.internal.sessions.AbstractRecord, .AbstractSession, org.eclipse.persistence.logging.AbstractSessionLog, .SessionLog, org.eclipse.persistence.mappings.structures.ObjectRelationalDatabaseField, org.eclipse.persistence.platform.database.converters.StructConverter, org.eclipse.persistence.queries.StoredProcedureCall, .ValueReadQuery

Purpose: Provides DB2 z/OS specific behavior.

This provides for some additional compatibility in certain DB2 versions.

Responsibilities:

Field Summary

Modifier and TypeField and Description
private static String
private static String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ExpressionOperator
absOperator()

Disable binding support.

protected ExpressionOperator
avgOperator()

Disable binding support.

protected ExpressionOperator
betweenOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected Hashtable<Class<?>, FieldTypeDefinition>
buildFieldTypes()

Overrides org.eclipse.persistence.platform.database.DB2Platform.buildFieldTypes.

Return the mapping of class types to database types for the schema framework.
public String
protected ExpressionOperator
ceilingOperator()

Disable binding support.

protected ExpressionOperator
concatOperator()

Overrides org.eclipse.persistence.platform.database.DB2Platform.concatOperator.

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way.
protected ExpressionOperator
equalOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected ExpressionOperator
expOperator()

Disable binding support.

protected ExpressionOperator
floorOperator()

Disable binding support.

public Object
getParameterValueFromDatabaseCall(CallableStatement statement, String name, AbstractSession session)

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getParameterValueFromDatabaseCall.

INTERNAL Get the parameter from the JDBC statement with the given name.
public String
public String
public String
getTableCreationSuffix()

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getTableCreationSuffix.

PUBLIC: Get the String used on all table creation statements generated from the DefaultTableGenerator with a session using this project (DDL generation).
public ValueReadQuery
getTimestampQuery()

Overrides org.eclipse.persistence.platform.database.DB2Platform.getTimestampQuery.

Implements org.eclipse.persistence.internal.databaseaccess.Platform.getTimestampQuery.

INTERNAL: This method returns the query to select the timestamp from the server for DB2.
protected ExpressionOperator
greaterThanEqualOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected ExpressionOperator
greaterThanOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected void
protected ExpressionOperator
inOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
public boolean
protected ExpressionOperator
isNotNullOperator()

Disable binding support.

protected ExpressionOperator
isNullOperator()

Disable binding support.

protected ExpressionOperator
lessThanEqualOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected ExpressionOperator
lessThanOperator()

Set binding support to PARTIAL.

protected ExpressionOperator
likeEscapeOperator()

DB2 z/OS support for binding the LIKE ESCAPE character depends on database configuration (mixed vs DBCS).

protected ExpressionOperator
lnOperator()

Disable binding support.

protected ExpressionOperator
locate2Operator()

Disable binding support.

protected ExpressionOperator
locateOperator()

Disable binding support.

protected ExpressionOperator
protected ExpressionOperator
ltrimOperator()

Disable binding support.

protected ExpressionOperator
modOperator()

Disable binding support.

protected ExpressionOperator
notBetweenOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected ExpressionOperator
notEqualOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ?
protected ExpressionOperator
notLikeEscapeOperator()

DB2 z/OS support for binding the LIKE ESCAPE character depends on database configuration (mixed vs DBCS).

protected ExpressionOperator
powerOperator()

Disable binding support.

public void
registerOutputParameter(CallableStatement statement, String name, int jdbcType)

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.registerOutputParameter.

This method is used to register output parameter on Callable Statements for Stored Procedures as each database seems to have a different method.
public void
registerOutputParameter(CallableStatement statement, String name, int jdbcType, String typeName)

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.registerOutputParameter.

This method is used to register output parameter on Callable Statements for Stored Procedures as each database seems to have a different method.
protected ExpressionOperator
protected ExpressionOperator
protected ExpressionOperator
rtrimOperator()

Disable binding support.

protected void
public void
setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session)

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.setParameterValueInDatabaseCall.

INTERNAL Set the parameter in the JDBC statement with the given name.
protected ExpressionOperator
signOperator()

Disable binding support.

protected ExpressionOperator
sqrtOperator()

Disable binding support.

protected ExpressionOperator
sumOperator()

Disable binding support.

protected ExpressionOperator
protected ExpressionOperator
trimOperator()

Disable binding support.

Inherited from org.eclipse.persistence.platform.database.DB2Platform:
allowBindingForSelectClauseappendByteArrayappendCalendarappendDateappendDB2CalendarappendDB2DateappendDB2TimestampappendTimeappendTimestampascendingOperatorbuildSelectQueryForIdentitybuildSelectQueryForSequenceObjectcaseConditionOperatorcaseOperatorcoalesceOperatorcountdescendingOperatordisableAllBindingExpressiondisableAtLeast1BindingExpressiondistinctdontBindUpdateAllQueryUsingTempTablesgetCreateTempTableSqlBodyForTablegetCreateTempTableSqlPrefixgetCreateTempTableSqlSuffixgetMaxFieldNameSizegetMaxForeignKeyNameSizegetMaxUniqueKeyNameSizegetNativeTableInfogetNoWaitStringgetProcedureAsStringgetProcedureBeginStringgetProcedureCallHeadergetProcedureEndStringgetSelectForUpdateStringgetTempTableForTableinitializeConnectionDataisAlterSequenceObjectSupportedisDB2isDynamicSQLRequiredForFunctionsisNullAllowedInSelectClauselengthOperatormaxmaximumNumericValuesminminimumNumericValuesnullifOperatorprintFieldIdentityClauseprintFieldTypeSizeprintSQLSelectStatementshouldBindPartialParametersshouldIgnoreExceptionshouldPrintForUpdateClauseshouldPrintOutputTokenAtStartshouldUseJDBCOuterJoinSyntaxsupportsGlobalTempTablessupportsIdentitysupportsLockingQueriesWithMultipleTablessupportsOrderByParameterssupportsSequenceObjectswriteParameterMarker

Field Detail

DB2_CALLABLESTATEMENT_CLASSback to summary
private static String DB2_CALLABLESTATEMENT_CLASS
DB2_PREPAREDSTATEMENT_CLASSback to summary
private static String DB2_PREPAREDSTATEMENT_CLASS

Constructor Detail

DB2ZPlatformback to summary
public DB2ZPlatform()

Method Detail

absOperatorback to summary
protected ExpressionOperator absOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
avgOperatorback to summary
protected ExpressionOperator avgOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
betweenOperatorback to summary
protected ExpressionOperator betweenOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
buildFieldTypesback to summary
protected Hashtable<Class<?>, FieldTypeDefinition> buildFieldTypes()

Overrides org.eclipse.persistence.platform.database.DB2Platform.buildFieldTypes.

Doc from org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.buildFieldTypes.

Return the mapping of class types to database types for the schema framework.

Annotations
@Override
buildProcedureCallStringback to summary
public String buildProcedureCallString(StoredProcedureCall call, AbstractSession session, AbstractRecord row)

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.buildProcedureCallString.

INTERNAL: Used for sp calls. PostGreSQL uses a different method for executing StoredProcedures than other platforms.

Annotations
@Override
ceilingOperatorback to summary
protected ExpressionOperator ceilingOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
concatOperatorback to summary
protected ExpressionOperator concatOperator()

Overrides org.eclipse.persistence.platform.database.DB2Platform.concatOperator.

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
Annotations
@Override
equalOperatorback to summary
protected ExpressionOperator equalOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
expOperatorback to summary
protected ExpressionOperator expOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
floorOperatorback to summary
protected ExpressionOperator floorOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
getParameterValueFromDatabaseCallback to summary
public Object getParameterValueFromDatabaseCall(CallableStatement statement, String name, AbstractSession session) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getParameterValueFromDatabaseCall.

Doc from org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getParameterValueFromDatabaseCall.

INTERNAL Get the parameter from the JDBC statement with the given name.

Annotations
@Override
getProcedureArgumentback to summary
public String getProcedureArgument(String name, Object parameter, DatasourceCall.ParameterType parameterType, StoredProcedureCall call, AbstractSession session)

Overrides org.eclipse.persistence.platform.database.DB2Platform.getProcedureArgument.

Doc from org.eclipse.persistence.platform.database.DB2Platform.getProcedureArgument.

Obtain the platform specific argument string

Annotations
@Override
getProcedureOptionListback to summary
public String getProcedureOptionList()

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getProcedureOptionList.

DB2 on Z uses ":" as prefix for procedure arguments.

Annotations
@Override
getTableCreationSuffixback to summary
public String getTableCreationSuffix()

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getTableCreationSuffix.

Doc from org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.getTableCreationSuffix.

PUBLIC: Get the String used on all table creation statements generated from the DefaultTableGenerator with a session using this project (DDL generation). This value will be appended to CreationSuffix strings stored on the DatabaseTable or TableDefinition.

Annotations
@Override
getTimestampQueryback to summary
public ValueReadQuery getTimestampQuery()

Overrides org.eclipse.persistence.platform.database.DB2Platform.getTimestampQuery.

Implements org.eclipse.persistence.internal.databaseaccess.Platform.getTimestampQuery.

INTERNAL: This method returns the query to select the timestamp from the server for DB2.

Annotations
@Override
greaterThanEqualOperatorback to summary
protected ExpressionOperator greaterThanEqualOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
greaterThanOperatorback to summary
protected ExpressionOperator greaterThanOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
initializePlatformOperatorsback to summary
protected void initializePlatformOperators()

Overrides org.eclipse.persistence.platform.database.DB2Platform.initializePlatformOperators.

INTERNAL: Initialize any platform-specific operators

Annotations
@Override
inOperatorback to summary
protected ExpressionOperator inOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
isDB2Zback to summary
public boolean isDB2Z()

Overrides org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform.isDB2Z.

Implements org.eclipse.persistence.internal.databaseaccess.Platform.isDB2Z.

Annotations
@Override
isNotNullOperatorback to summary
protected ExpressionOperator isNotNullOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
isNullOperatorback to summary
protected ExpressionOperator isNullOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
lessThanEqualOperatorback to summary
protected ExpressionOperator lessThanEqualOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
lessThanOperatorback to summary
protected ExpressionOperator lessThanOperator()

Set binding support to PARTIAL.

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
likeEscapeOperatorback to summary
protected ExpressionOperator likeEscapeOperator()

DB2 z/OS support for binding the LIKE ESCAPE character depends on database configuration (mixed vs DBCS). Since we cannot know how the database in configured, we will disable parameter binding for the ESCAPE

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
lnOperatorback to summary
protected ExpressionOperator lnOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
locate2Operatorback to summary
protected ExpressionOperator locate2Operator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
locateOperatorback to summary
protected ExpressionOperator locateOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
ltrim2Operatorback to summary
protected ExpressionOperator ltrim2Operator()

Overrides org.eclipse.persistence.platform.database.DB2Platform.ltrim2Operator.

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
Annotations
@Override
ltrimOperatorback to summary
protected ExpressionOperator ltrimOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
modOperatorback to summary
protected ExpressionOperator modOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
notBetweenOperatorback to summary
protected ExpressionOperator notBetweenOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
notEqualOperatorback to summary
protected ExpressionOperator notEqualOperator()

DB2 z/OS requires that at least one argument be a known type

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator—for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
notLikeEscapeOperatorback to summary
protected ExpressionOperator notLikeEscapeOperator()

DB2 z/OS support for binding the LIKE ESCAPE character depends on database configuration (mixed vs DBCS). Since we cannot know how the database in configured, we will disable parameter binding for the ESCAPE

With binding enabled, DB2 z/OS will throw an error:

The statement string specified as the object of a PREPARE contains a 
predicate or expression where parameter markers have been used as operands of 
the same operator for example: ? > ?. DB2 SQL Error: SQLCODE=-417, SQLSTATE=42609
powerOperatorback to summary
protected ExpressionOperator powerOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
registerOutputParameterback to summary
public void registerOutputParameter(CallableStatement statement, String name, int jdbcType) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.registerOutputParameter.

This method is used to register output parameter on Callable Statements for Stored Procedures as each database seems to have a different method.

Annotations
@Override
registerOutputParameterback to summary
public void registerOutputParameter(CallableStatement statement, String name, int jdbcType, String typeName) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.registerOutputParameter.

This method is used to register output parameter on Callable Statements for Stored Procedures as each database seems to have a different method.

Annotations
@Override
roundOperatorback to summary
protected ExpressionOperator roundOperator()

Overrides org.eclipse.persistence.platform.database.DB2Platform.roundOperator.

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
Annotations
@Override
rtrim2Operatorback to summary
protected ExpressionOperator rtrim2Operator()

Overrides org.eclipse.persistence.platform.database.DB2Platform.rtrim2Operator.

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
Annotations
@Override
rtrimOperatorback to summary
protected ExpressionOperator rtrimOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
setNullFromDatabaseFieldback to summary
protected void setNullFromDatabaseField(DatabaseField databaseField, CallableStatement statement, String name) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.setNullFromDatabaseField.

Annotations
@Override
setParameterValueInDatabaseCallback to summary
public void setParameterValueInDatabaseCall(Object parameter, CallableStatement statement, String name, AbstractSession session) throws SQLException

Overrides org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.setParameterValueInDatabaseCall.

Doc from org.eclipse.persistence.internal.databaseaccess.DatabasePlatform.setParameterValueInDatabaseCall.

INTERNAL Set the parameter in the JDBC statement with the given name. This support a wide range of different parameter types, and is heavily optimized for common types.

Annotations
@Override
@SuppressWarnings:rawtypes
signOperatorback to summary
protected ExpressionOperator signOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
sqrtOperatorback to summary
protected ExpressionOperator sqrtOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
sumOperatorback to summary
protected ExpressionOperator sumOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610
trim2back to summary
protected ExpressionOperator trim2()

Overrides org.eclipse.persistence.platform.database.DB2Platform.trim2.

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The data type, the length, or the value of an argument of a scalar function 
is incorrect. DB2 SQL Error: SQLCODE=-171, SQLSTATE=42815
Annotations
@Override
trimOperatorback to summary
protected ExpressionOperator trimOperator()

Disable binding support.

With binding enabled, DB2 z/OS will throw an error:

The statement cannot be executed because a parameter marker has been used 
in an invalid way. DB2 SQL Error: SQLCODE=-418, SQLSTATE=42610