public class DBSybase extends DB
DB.PagineSql| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
DATE_FORMAT
date format
|
date_format, dbtype, FORMART_ALL, FORMART_DAY, FORMART_HH_MM_SS, FORMART_HOUR, FORMART_MINUTE, FORMART_MONTH, FORMART_SECOND, FORMART_YEAR, FORMART_YEAR_MM_DD, LIMIT_STYLE_DB2, LIMIT_STYLE_MYSQL, LIMIT_STYLE_NONE, LIMIT_STYLE_ORACLE, LIMIT_STYLE_POSTGRES, LIMIT_STYLE_SYBASE, NULL_SCHEMA, platformAUTO_INCREMENT, ID_BROKER, NATIVE, NO_ID_METHOD| 限定符 | 构造器和说明 |
|---|---|
protected |
DBSybase()
Empty constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getDateString(java.util.Date date)
This method overrides the JDBC escapes used to format dates
using a
DateFormat. |
java.lang.String |
getIDMethodSQL(java.lang.Object unused)
Returns the last value from an identity column (available on a
per-session basis from the global variable
@@identity). |
java.lang.String |
getIDMethodType()
Returns the constant from the
IDMethod interface denoting which
type of primary key generation method this type of RDBMS uses. |
int |
getLimitStyle()
This method is used to chek whether the database supports
limiting the size of the resultset.
|
java.lang.String |
ignoreCase(java.lang.String in)
This method is used to ignore case.
|
void |
lockTable(java.sql.Connection con,
java.lang.String table)
Locks the specified table.
|
void |
setObject(PreparedDBUtil dbutil,
int i,
java.lang.Object o) |
boolean |
supportsNativeLimit()
This method is used to chek whether the database natively
supports limiting the size of the resultset.
|
java.lang.String |
toUpperCase(java.lang.String in)
This method is used to ignore case.
|
void |
unlockTable(java.sql.Connection con,
java.lang.String table)
Unlocks the specified table.
|
_getDBCatalog, columnLableUpperCase, concat, countZHWord, disableFK, enableFK, escapeText, filedToDateFunction, filedToDateFunction, getAutoIncrement, getBooleanString, getBytesFromBlob, getBytesFromClob, getBytesFromResultset, getCharValue, getCharValue, getCharValue, getColumnRemarks, getCusorType, getDate, getDateFormat, getDateString, getDateString, getDateString, getDBCatalog, getDBInfoEncrypt, getDBPagineSql, getDBPagineSql, getDBTYPE, getDomainForSchemaType, getDomainForSchemaType, getFORMART_ALL, getFORMART_DAY, getFORMART_HH_MM_SS, getFORMART_HOUR, getFORMART_MINUTE, getFORMART_MONTH, getFORMART_SECOND, getFORMART_YEAR_MM_DD, getFORMART_YEAR, getIDMAXSql, getJavaDateFormat, getLimitSelect, getLONGVARBINARY, getLONGVARBINARY, getLONGVARBINARY, getLONGVARCHAR, getLONGVARCHAR, getLONGVARCHAR, getMaxColumnNameLength, getNativeIdMethod, getNextValue, getNextValue, getNullString, getOracleDBPagineSql, getOracleLimitSelect, getOROPR, getSchema, getSchemaTableTableName, getSchemaTypeFromSqlType, getSCROLLType, getStringDelimiter, getStringFromClob, getStringPagineSql, getStringPagineSql, getStringPagineSql, getStringPagineSql, getTableRemarks, getTimestamp, hasScale, hasScale, hasSize, hasSize, ignoreCaseInOrderBy, isDefinitelyWritable, isOracleTimestamp, isSearchable, isSigned, isWritebable, neadGetGenerateKeys, queryByNullRowHandler, resetPostion, setDbtype, setFORMART_DAY, setObject, supportsNativeOffset, sysdate, to_char, to_char, to_date, to_date, to_date, to_date, updateBLOB, updateBLOB, updateBlob, updateBlob, updateCLOB, updateClobpublic static final java.lang.String DATE_FORMAT
public java.lang.String toUpperCase(java.lang.String in)
toUpperCase 在类中 DBin - The string to transform to upper case.public java.lang.String ignoreCase(java.lang.String in)
ignoreCase 在类中 DBin - The string whose case to ignore.public java.lang.String getIDMethodType()
DBIDMethod interface denoting which
type of primary key generation method this type of RDBMS uses.getIDMethodType 在类中 DBDB.getIDMethodType()public java.lang.String getIDMethodSQL(java.lang.Object unused)
@@identity).getIDMethodSQL 在类中 DBunused - Information used for key generation.DB.getIDMethodSQL(Object obj)public void lockTable(java.sql.Connection con,
java.lang.String table)
throws java.sql.SQLException
public void unlockTable(java.sql.Connection con,
java.lang.String table)
throws java.sql.SQLException
unlockTable 在类中 DBcon - The JDBC connection to use.table - The name of the table to unlock.java.sql.SQLException - No Statement could be created or executed.public boolean supportsNativeLimit()
supportsNativeLimit 在类中 DBpublic int getLimitStyle()
getLimitStyle 在类中 DBpublic java.lang.String getDateString(java.util.Date date)
DateFormat. As of version 11, the Sybase
JDBC driver does not implement JDBC 3.0 escapes.getDateString 在类中 DBdate - the date to formatpublic void setObject(PreparedDBUtil dbutil, int i, java.lang.Object o) throws java.sql.SQLException