butler.sql.util
Class Informix_SQLHelper

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

public class Informix_SQLHelper
extends SQLHelper


Constructor Summary
Informix_SQLHelper()
           
 
Method Summary
 java.lang.Exception createException(java.sql.SQLException e)
           
 java.lang.String getColumnTypeSQL(Column col)
           
 java.lang.String getQuote()
          Returns the character that is used as a quote.
 java.lang.String getTypeName(int type)
          Returns the column type name that is used in create table statements.
 boolean useQuotes()
           
 
Methods inherited from class butler.sql.util.SQLHelper
checkDuplicateBeforeInsert, db2obj, getHelper, getJavaClass, getJoinAliasKeyword, populateStatement, 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

Informix_SQLHelper

public Informix_SQLHelper()
Method Detail

useQuotes

public boolean useQuotes()

getQuote

public java.lang.String getQuote()
Description copied from class: SQLHelper
Returns the character that is used as a quote.

Overrides:
getQuote in class SQLHelper

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

getColumnTypeSQL

public java.lang.String getColumnTypeSQL(Column col)
                                  throws java.lang.Exception
Overrides:
getColumnTypeSQL in class SQLHelper
Throws:
java.lang.Exception

createException

public java.lang.Exception createException(java.sql.SQLException e)
Overrides:
createException in class SQLHelper