butler.sql.util
Class Oracle_SQLHelper

java.lang.Object
  extended by butler.sql.util.SQLHelper
      extended by butler.sql.util.Oracle_SQLHelper

public class Oracle_SQLHelper
extends SQLHelper

Author:
Fredrik Bertilsson

Constructor Summary
Oracle_SQLHelper()
           
 
Method Summary
 java.lang.Object db2obj(java.lang.Object obj, Column col)
           
 java.lang.String getJoinAliasKeyword()
           
 java.lang.String getTypeName(int type)
          Returns the column type name that is used in create table statements.
 void populateStatement(JPreparedStatement stmt, int index, Record rec, Column col, java.lang.Object value)
           
 
Methods inherited from class butler.sql.util.SQLHelper
checkDuplicateBeforeInsert, createException, getColumnTypeSQL, getHelper, getJavaClass, getQuote, supportsForeignKeys, supportsIndexes, useCatalog, useColumnAliasInOrderBy, useSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oracle_SQLHelper

public Oracle_SQLHelper()
Method Detail

getTypeName

public java.lang.String getTypeName(int type)
                             throws java.lang.Exception
Description copied from class: SQLHelper
Returns the column type name that is used in create table statements.

Overrides:
getTypeName in class SQLHelper
Throws:
java.lang.Exception

populateStatement

public void populateStatement(JPreparedStatement stmt,
                              int index,
                              Record rec,
                              Column col,
                              java.lang.Object value)
                       throws java.lang.Exception
Overrides:
populateStatement in class SQLHelper
Throws:
java.lang.Exception

getJoinAliasKeyword

public java.lang.String getJoinAliasKeyword()
Overrides:
getJoinAliasKeyword in class SQLHelper

db2obj

public java.lang.Object db2obj(java.lang.Object obj,
                               Column col)
                        throws java.lang.Exception
Overrides:
db2obj in class SQLHelper
Throws:
java.lang.Exception