public class KKRecord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DB2
Torque adapter for DB2
|
static java.lang.String |
MSSQL
Torque adapter for MSSQL
|
static java.lang.String |
MSSQL2008
Torque adapter for MSSQL2008
|
static java.lang.String |
MYSQL
Torque adapter for MySQL
|
static java.lang.String |
ORACLE
Torque adapter for Oracle
|
static java.lang.String |
POSTGRESQL
Torque adapter for PostgreSQL
|
Constructor and Description |
---|
KKRecord(com.workingdogs.village.Record villageRecord)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDbType() |
static java.lang.String |
getDbTypeString() |
static java.lang.String |
getTimeNowString()
Get the String that's used to set the current dateTime in the current database
|
com.workingdogs.village.Value |
getValue(int columnIdx)
Pick out the value by column Index
|
com.workingdogs.village.Record |
getVillageRecord() |
static boolean |
isCaseSensitiveDB() |
static boolean |
isDB2() |
static boolean |
isInitialised() |
static boolean |
isMSSqlServer() |
static boolean |
isMySQL() |
static boolean |
isOracle() |
static boolean |
isPostgreSQL() |
static void |
setDbType(java.lang.String dbType)
Set the type of DB being used (i.e.
|
void |
setVillageRecord(com.workingdogs.village.Record villageRecord) |
public static final java.lang.String POSTGRESQL
public static final java.lang.String ORACLE
public static final java.lang.String DB2
public static final java.lang.String MSSQL2008
public static final java.lang.String MSSQL
public static final java.lang.String MYSQL
public KKRecord(com.workingdogs.village.Record villageRecord)
villageRecord
- the villageRecordpublic com.workingdogs.village.Value getValue(int columnIdx) throws com.workingdogs.village.DataSetException
columnIdx
- the columnIdxcom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public com.workingdogs.village.Record getVillageRecord()
public void setVillageRecord(com.workingdogs.village.Record villageRecord)
villageRecord
- the villageRecordpublic static java.lang.String getTimeNowString()
public static void setDbType(java.lang.String dbType)
dbType
- the dbTypepublic static java.lang.String getDbType()
public static java.lang.String getDbTypeString()
public static boolean isInitialised()
public static boolean isMSSqlServer()
public static boolean isMySQL()
public static boolean isDB2()
public static boolean isPostgreSQL()
public static boolean isOracle()
public static boolean isCaseSensitiveDB()
Copyright © 2018 DS Data Systems UK Ltd.