org.apache.torque.adapter
Class DBMSSQL

java.lang.Object
  extended byorg.apache.torque.adapter.DB
      extended byorg.apache.torque.adapter.DBSybase
          extended byorg.apache.torque.adapter.DBMSSQL
All Implemented Interfaces:
IDMethod, java.io.Serializable

public class DBMSSQL
extends DBSybase

This is used to connect to a MSSQL database. For now, this class simply extends the adaptor for Sybase. 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/

Version:
$Id: DBMSSQL.java,v 1.5 2002/05/07 05:18:41 dobbs Exp $
Author:
Gonzalo Diethelm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.torque.adapter.DBSybase
 
Fields inherited from class org.apache.torque.adapter.DB
LIMIT_STYLE_MYSQL, LIMIT_STYLE_NONE, LIMIT_STYLE_ORACLE, LIMIT_STYLE_POSTGRES, LIMIT_STYLE_SYBASE
 
Fields inherited from interface org.apache.torque.adapter.IDMethod
AUTO_INCREMENT, ID_BROKER, NATIVE, NO_ID_METHOD, SEQUENCE
 
Constructor Summary
protected DBMSSQL()
          Empty constructor.
 
Method Summary
 boolean supportsNativeLimit()
          This method is used to chek whether the database natively supports limiting the size of the resultset.
 
Methods inherited from class org.apache.torque.adapter.DBSybase
getDateString, getIDMethodSQL, getIDMethodType, getLimitStyle, ignoreCase, lockTable, toUpperCase, unlockTable
 
Methods inherited from class org.apache.torque.adapter.DB
escapeText, getBooleanString, getStringDelimiter, ignoreCaseInOrderBy, supportsNativeOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBMSSQL

protected DBMSSQL()
Empty constructor.

Method Detail

supportsNativeLimit

public boolean supportsNativeLimit()
This method is used to chek whether the database natively supports limiting the size of the resultset.

Overrides:
supportsNativeLimit in class DBSybase
Returns:
True.


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.