Utility class to help create generic code and SQL that can work across supported databases.
Type | Name and description |
---|---|
static int |
H2 |
static int |
MSSQL |
static int |
MYSQL |
static int |
ORACLE |
static int |
UNKNOWN |
static String |
dialectName |
JdbcTemplate |
jdbcTemplate |
Type Params | Return Type | Name and description |
---|---|---|
|
String |
getCharFn() |
|
String |
getConcat() |
|
String |
getCurrentDate() |
|
String |
getDateFormatForDialect(Object myDate) hack for Oracle date formats * |
|
int |
getDialect() |
|
String |
getDialectName() |
|
static Map |
getGlobalVariables() |
|
String |
getIfNull() |
|
String |
getSubstringFn() |
|
String |
getTop(int num) |
|
boolean |
isH2() |
|
boolean |
isMsSql() |
|
boolean |
isMySql() |
|
void |
updateOrDateFormat() |
hack for Oracle date formats *