|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.util.db.adapter.DB | +--org.apache.turbine.util.db.adapter.DBSybase | +--org.apache.turbine.util.db.adapter.DBMSSQL | +--org.apache.turbine.util.db.adapter.DBMSSQL7
This is used to connect to a MSSQL 7+ database. the difference from MSSQL is using SELECT TOP N .... for native limits You can use one of several commercial JDBC drivers; the one I use is: i-net SPRINTA(tm) 2000 Driver Version 3.03 for MS SQL Server http://www.inetsoftware.de/
Fields inherited from class org.apache.turbine.util.db.adapter.DB |
DB_CONNECTION, DB_PASS, DB_USER, JDBCDriver, LIMIT_STYLE_MSSQL7, LIMIT_STYLE_MYSQL, LIMIT_STYLE_NONE, LIMIT_STYLE_POSTGRES, LIMIT_STYLE_SYBASE |
Fields inherited from interface org.apache.turbine.util.db.map.IDMethod |
AUTO_INCREMENT, AUTOINCREMENT, ID_BROKER, IDBROKERTABLE, NATIVE, NO_ID_METHOD, SEQUENCE |
Constructor Summary | |
DBMSSQL7()
|
Method Summary | |
int |
getLimitStyle()
This method is used to chek whether the database supports limiting the size of the resultset. |
Methods inherited from class org.apache.turbine.util.db.adapter.DBSybase |
getIDMethodSQL, getIDMethodType, getStringDelimiter, ignoreCase, lockTable, supportsNativeLimit, toUpperCase, unlockTable |
Methods inherited from class org.apache.turbine.util.db.adapter.DB |
escapeText, getConnection, getConnectionPoolDataSource, getDateString, getIdSqlForAutoIncrement, getJDBCDriver, getSequenceSql, ignoreCaseInOrderBy, init, objectDataNeedsTrans, setJDBCDriver, supportsNativeOffset |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public DBMSSQL7()
Method Detail |
public int getLimitStyle()
getLimitStyle
in class DBSybase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |