Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.engine.sql
Class SqlServerInterface  view SqlServerInterface download SqlServerInterface.java

java.lang.Object
  extended byorg.jdbf.engine.sql.SqlInterface
      extended byorg.jdbf.engine.sql.SqlServerInterface
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SybaseInterface

public class SqlServerInterface
extends SqlInterface

It's overrides SqlInterface's methods for constructing sql statements where MS SQL Server implementation differs from ANSI or is not specified by ANSI.

Version:
$id$

Field Summary
 
Fields inherited from class org.jdbf.engine.sql.SqlInterface
AND, ASC, ASSIGNMENT, BETWEEN, CREATE, DELETE, DESC, DISTINCT, DROP, EQUAL, FROM, GREATER_OR_EQUAL, GREATER_THAN, GROUP_BY, HAVING, INSERT, LESS_OR_EQUAL, LESS_THAN, LIKE, MAX, NEXTVAL, NOT_EQUAL, NOT_EXISTS, NULL, OR, ORDER_BY, PARAMETER, SELECT, SELECT_ALL, SET, TABLE, UNION, UNIQUE, UPDATE, VALUES, WHERE
 
Constructor Summary
SqlServerInterface()
           
 
Method Summary
 java.lang.String getClauseStringCurrentTimeStamp()
          Return the cluase of current timeStamp
 java.lang.String getCurrentTimeStampStatement()
          Return the current timeStamp statement
 java.lang.String getSelectInsertIdStatement()
          Forms an sql insert id statement NEWID() returns a 16-byte binary value (GUID) for example: 6F9619FF-8B86-D011-D42D-00C04FC964FF
 
Methods inherited from class org.jdbf.engine.sql.SqlInterface
getColumnDefinition, getCountStatement, getCountStatement, getCreateTableStatement, getDropTableStatement, getInsertStatement, getSelectCountAll, getSelectSequenceStatement, getSelectStatement, getSelectStatement, getUpdateStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlServerInterface

public SqlServerInterface()
Method Detail

getClauseStringCurrentTimeStamp

public java.lang.String getClauseStringCurrentTimeStamp()
Return the cluase of current timeStamp

Overrides:
getClauseStringCurrentTimeStamp in class SqlInterface

getCurrentTimeStampStatement

public java.lang.String getCurrentTimeStampStatement()
Return the current timeStamp statement

Overrides:
getCurrentTimeStampStatement in class SqlInterface

getSelectInsertIdStatement

public java.lang.String getSelectInsertIdStatement()
Forms an sql insert id statement NEWID() returns a 16-byte binary value (GUID) for example: 6F9619FF-8B86-D011-D42D-00C04FC964FF

Overrides:
getSelectInsertIdStatement in class SqlInterface