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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.jdbf.engine.sql.SqlInterface
      extended byorg.jdbf.engine.sql.OracleInterface
All Implemented Interfaces:
java.io.Serializable

public class OracleInterface
extends SqlInterface

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


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
OracleInterface()
           
 
Method Summary
 java.lang.String getClauseStringCurrentTimeStamp()
          Return the cluase of current timeStamp
 java.lang.String getClauseStringForUpdate()
          Return the relative cluase for "FOR UPDATE" statement
 java.lang.String getCurrentTimeStampStatement()
          Return the current timeStamp statement
 java.lang.String getDropTableStatement(java.lang.String tableName)
          Forms an sql statement the drop the table given tableName
 java.lang.String getSelectSequenceStatement(java.lang.String name)
          Forms an sql sequence statement given name This method throws an MappingExcpetion because for a generic sql interface the sequence feature is not supported.
 
Methods inherited from class org.jdbf.engine.sql.SqlInterface
getColumnDefinition, getCountStatement, getCountStatement, getCreateTableStatement, getInsertStatement, getSelectCountAll, getSelectInsertIdStatement, getSelectStatement, getSelectStatement, getUpdateStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleInterface

public OracleInterface()
Method Detail

getClauseStringForUpdate

public java.lang.String getClauseStringForUpdate()
Return the relative cluase for "FOR UPDATE" statement


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

getDropTableStatement

public java.lang.String getDropTableStatement(java.lang.String tableName)
Forms an sql statement the drop the table given tableName

Overrides:
getDropTableStatement in class SqlInterface

getSelectSequenceStatement

public java.lang.String getSelectSequenceStatement(java.lang.String name)
Forms an sql sequence statement given name This method throws an MappingExcpetion because for a generic sql interface the sequence feature is not supported.

Overrides:
getSelectSequenceStatement in class SqlInterface