butler.sql.util
Class MySQL_SQLHelper

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

public class MySQL_SQLHelper
extends SQLHelper


Constructor Summary
MySQL_SQLHelper()
           
 
Method Summary
 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.
 void populateStatement(JPreparedStatement stmt, int index, Record rec, Column col, java.lang.Object value)
           
 boolean supportsForeignKeys()
           
 boolean supportsIndexes()
           
 
Methods inherited from class butler.sql.util.SQLHelper
checkDuplicateBeforeInsert, createException, db2obj, getColumnTypeSQL, getHelper, getJavaClass, getJoinAliasKeyword, useCatalog, useColumnAliasInOrderBy, useSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQL_SQLHelper

public MySQL_SQLHelper()
Method Detail

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

supportsIndexes

public boolean supportsIndexes()
Overrides:
supportsIndexes in class SQLHelper

supportsForeignKeys

public boolean supportsForeignKeys()
Overrides:
supportsForeignKeys in class SQLHelper

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