Class DB2SqlStyle
java.lang.Object
org.eclipse.scout.rt.server.jdbc.style.AbstractSqlStyle
org.eclipse.scout.rt.server.jdbc.db2.DB2SqlStyle
- All Implemented Interfaces:
Serializable
,ISqlStyle
- Direct Known Subclasses:
DB2OracleModeSqlStyle
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.scout.rt.server.jdbc.style.AbstractSqlStyle
AbstractSqlStyle.DecimalConversion
-
Field Summary
Fields inherited from interface org.eclipse.scout.rt.server.jdbc.style.ISqlStyle
MAX_LIST_SIZE, MAX_SQL_STRING_LENGTH, PLAIN_BIND_MARKER_PREFIX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
adaptBindNameTimeDateOp
(String bindName) ansi:+
ansi:*
protected int
boolean
flag signaling whetherBLOB
orLONG RAW
should be used forbyte[]
bindsboolean
boolean
void
testConnection
(Connection conn) test a connection before use
Note: this method is called before *every* sql connection pool transaction
Note: this method is not called when an rmi connection pool is usedMethods inherited from class org.eclipse.scout.rt.server.jdbc.style.AbstractSqlStyle
adaptBindName, buildBindFor, commit, createBetween, createBindFor, createContains, createDateBetween, createDateEQ, createDateGE, createDateGT, createDateIsInDays, createDateIsInGEDays, createDateIsInGEMonths, createDateIsInGEWeeks, createDateIsInLastDays, createDateIsInLastMonths, createDateIsInLEDays, createDateIsInLEMonths, createDateIsInLEWeeks, createDateIsInMonths, createDateIsInNextDays, createDateIsInNextMonths, createDateIsInWeeks, createDateIsNotToday, createDateIsToday, createDateLE, createDateLT, createDateNEQ, createDateTimeBetween, createDateTimeEQ, createDateTimeGE, createDateTimeGT, createDateTimeIsInGEHours, createDateTimeIsInGEMinutes, createDateTimeIsInLEHours, createDateTimeIsInLEMinutes, createDateTimeIsNotNow, createDateTimeIsNow, createDateTimeLE, createDateTimeLT, createDateTimeNEQ, createEndsWith, createEQ, createGE, createGT, createIn, createInList, createInList, createLE, createLike, createLT, createNEQ, createNotContains, createNotEndsWith, createNotIn, createNotInList, createNotInList, createNotLike, createNotNull, createNotStartsWith, createNull, createNumberNotNull, createNumberNull, createStartsWith, createTextNotNull, createTextNull, createTimeIsInGEHours, createTimeIsInGEMinutes, createTimeIsInHours, createTimeIsInLEHours, createTimeIsInLEMinutes, createTimeIsInMinutes, createTimeIsNotNow, createTimeIsNow, createYearToDate, getConfiguredDecimalConversionStrategy, getJdbcType, getLowerToken, getNvlToken, getSysdateToken, getTrimToken, getUpperToken, isCreatingInListGeneratingBind, readBind, registerOutput, rollback, toAggregationAvg, toAggregationCount, toAggregationMax, toAggregationMedian, toAggregationMin, toAggregationSum, toArray, toLikePattern, toPlainText, writeBind
-
Constructor Details
-
DB2SqlStyle
public DB2SqlStyle()
-
-
Method Details
-
getConcatOp
Description copied from interface:ISqlStyle
ansi:+
- Specified by:
getConcatOp
in interfaceISqlStyle
- Overrides:
getConcatOp
in classAbstractSqlStyle
-
getLikeWildcard
Description copied from interface:ISqlStyle
ansi:*
- Specified by:
getLikeWildcard
in interfaceISqlStyle
- Overrides:
getLikeWildcard
in classAbstractSqlStyle
-
getMaxListSize
protected int getMaxListSize()- Specified by:
getMaxListSize
in classAbstractSqlStyle
-
isLargeString
- Returns:
true
to handle string asCLOB
resp.LONG VARCHAR
orfalse
to handle string as simpleString
seeISqlStyle.isClobEnabled()
-
isBlobEnabled
public boolean isBlobEnabled()Description copied from interface:ISqlStyle
flag signaling whetherBLOB
orLONG RAW
should be used forbyte[]
binds -
isClobEnabled
public boolean isClobEnabled()Description copied from interface:ISqlStyle
-
testConnection
Description copied from interface:ISqlStyle
test a connection before use
Note: this method is called before *every* sql connection pool transaction
Note: this method is not called when an rmi connection pool is used- Throws:
SQLException
-
adaptBindNameTimeDateOp
- Overrides:
adaptBindNameTimeDateOp
in classAbstractSqlStyle
-