com.dhtmlx.connector
Class MySQLDBDataWrapper

java.lang.Object
  extended by com.dhtmlx.connector.DataWrapper
      extended by com.dhtmlx.connector.DBDataWrapper
          extended by com.dhtmlx.connector.MySQLDBDataWrapper

public class MySQLDBDataWrapper
extends DBDataWrapper

The Class MySQLDBDataWrapper.


Constructor Summary
MySQLDBDataWrapper()
           
 
Method Summary
 java.lang.String escape(java.lang.String data)
          Escape the data, befor using in SQL
 java.lang.String get_new_id(ConnectorResultSet result)
          Gets the new id
 
Methods inherited from class com.dhtmlx.connector.DBDataWrapper
attach, begin_transaction, commit_transaction, delete, get_size, get_sql, get_variants, insert, query, rollback_transaction, select, sequence, update
 
Methods inherited from class com.dhtmlx.connector.DataWrapper
init, is_global_transaction, is_record_transaction, set_transaction_mode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySQLDBDataWrapper

public MySQLDBDataWrapper()
Method Detail

escape

public java.lang.String escape(java.lang.String data)
Description copied from class: DBDataWrapper
Escape the data, befor using in SQL

Specified by:
escape in class DBDataWrapper
Parameters:
data - the incoming data
Returns:
the escaped string

get_new_id

public java.lang.String get_new_id(ConnectorResultSet result)
                            throws ConnectorOperationException
Description copied from class: DBDataWrapper
Gets the new id

Specified by:
get_new_id in class DBDataWrapper
Parameters:
result - the resultset, which contains the new ID
Returns:
the new id value
Throws:
ConnectorOperationException - the connector operation exception