public class DB2EnableMYSDialect extends AnsiDialect
Limit clause:
select name from author LIMIT 1 OFFSET 2
The DB2_COMPATIBILITY_VECTOR registry variable enables one or more DB2® compatibility features. These features ease the task of migrating applications that were written for relational database products other than the DB2 product to DB2 Version 9.5 or later.
This registry variable is supported on Linux, UNIX, and Windows operating systems. You can enable individual DB2 compatibility features by specify a hexadecimal value for the registry variable. Each bit in the variable value enables a different feature. Values are as follows:
NULL (default) 0000 - FFFF ORA, to take full advantage of the DB2 compatibility features for Oracle applications SYB, to take full advantage of the DB2 compatibility features for Sybase applications MYS, to take full advantage of the DB2 compatibility features for MySQL applications
name, patternORDER_BY| Constructor and Description |
|---|
DB2EnableMYSDialect() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSqlPatternPaging()
LIMIT and OFFSET clause for DB2 with DB2_COMPATIBILITY_VECTOR=MYS enabled,
where LIMIT and OFFSET are parameter from String.format
|
addFeature, buildQueryCount, buildQueryPaging, buildQueryPaging, countOccurrencesOf, getAccessId, getAccessRevision, getMaxOfParameters, getSqlPatternCount, name, setMaxOfParameters, sqlEndsWithOrderBy, sqlEndWithForUpdate, sqlStartWithSelect, sqlStartWithSelectOrDistinct, supportsFeature, supportsParmMarkpublic DB2EnableMYSDialect()
public String getSqlPatternPaging()
getSqlPatternPaging in interface SqlDialectgetSqlPatternPaging in class AnsiDialectCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.