public class RdbmsInformix extends RdbmsSupport
RDBMS_ACCESS, RDBMS_CLOUDSCAPE, RDBMS_DB2NT, RDBMS_DERBY, RDBMS_INFORMIX, RDBMS_MYSQL, RDBMS_ORACLE, RDBMS_POINTBASE| Constructor and Description |
|---|
RdbmsInformix(javax.sql.DataSource cp,
java.sql.Connection dbConn,
RdbmsInfo dbi) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createAddForeignKeyStatement(java.lang.String sourceTable,
java.lang.String sourceCols,
java.lang.String targetTable,
java.lang.String targetCols,
java.lang.String constrName)
Overridden to adapt to informix syntax: the constraint name is appended last!
|
java.lang.String |
getBlobDef() |
java.lang.String |
getBooleanDef() |
java.lang.String |
getCharDef(int length) |
java.lang.String |
getClobDef() |
java.lang.String |
getDateDef() |
java.lang.String |
getDoubleDef() |
java.sql.Blob |
getEmptyBlob()
Most RDBMS systems need 'null', but Informix needs and empty Blob Object
|
java.sql.Clob |
getEmptyClob()
Most RDBMS systems need 'null', but Informix needs and empty Clob Object
|
java.lang.String |
getFloatDef() |
java.lang.String |
getIntDef() |
java.lang.String |
getLongDef() |
java.lang.String |
getLongVarcharDef() |
java.lang.String |
getTimeDef() |
java.lang.String |
getTimestampDef() |
java.lang.String |
getVarcharDef() |
java.lang.String |
getVarcharDef(int length) |
protected void |
init(java.sql.Connection dbConn)
May be overridden by subclasses in order to do any RDBMS-specific
initialization on the given connection.
|
int |
updateStatisticsAll()
Updates the database statistics for all tables
(Not supported on most RDBMS systems)
|
int |
updateStatisticsFor(java.lang.String tableName)
Updates the database statistics for the given table
(Not supported on most RDBMS systems)
|
createRdbmsSupport, getDataSource, getDBSupport, getInstance, getRdbmsInfo, getSupportedRdbmsTypes, isSupportedRdbmsType, toStringpublic RdbmsInformix(javax.sql.DataSource cp,
java.sql.Connection dbConn,
RdbmsInfo dbi)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void init(java.sql.Connection dbConn)
throws java.sql.SQLException
RdbmsSupportinit in class RdbmsSupportjava.sql.SQLExceptionpublic java.lang.String createAddForeignKeyStatement(java.lang.String sourceTable,
java.lang.String sourceCols,
java.lang.String targetTable,
java.lang.String targetCols,
java.lang.String constrName)
createAddForeignKeyStatement in class RdbmsSupportpublic int updateStatisticsFor(java.lang.String tableName)
RdbmsSupportupdateStatisticsFor in class RdbmsSupportpublic int updateStatisticsAll()
RdbmsSupportupdateStatisticsAll in class RdbmsSupportpublic java.sql.Blob getEmptyBlob()
getEmptyBlob in class RdbmsSupportpublic java.sql.Clob getEmptyClob()
getEmptyClob in class RdbmsSupportpublic java.lang.String getBooleanDef()
getBooleanDef in class RdbmsSupportpublic java.lang.String getCharDef(int length)
getCharDef in class RdbmsSupportpublic java.lang.String getIntDef()
getIntDef in class RdbmsSupportpublic java.lang.String getFloatDef()
getFloatDef in class RdbmsSupportpublic java.lang.String getLongDef()
getLongDef in class RdbmsSupportpublic java.lang.String getDoubleDef()
getDoubleDef in class RdbmsSupportpublic java.lang.String getDateDef()
getDateDef in class RdbmsSupportpublic java.lang.String getTimeDef()
getTimeDef in class RdbmsSupportpublic java.lang.String getTimestampDef()
getTimestampDef in class RdbmsSupportpublic java.lang.String getVarcharDef()
getVarcharDef in class RdbmsSupportpublic java.lang.String getVarcharDef(int length)
getVarcharDef in class RdbmsSupportpublic java.lang.String getLongVarcharDef()
getLongVarcharDef in class RdbmsSupportpublic java.lang.String getClobDef()
getClobDef in class RdbmsSupportpublic java.lang.String getBlobDef()
getBlobDef in class RdbmsSupportCopyright © 2014 EsprIT-Systems. All Rights Reserved.