de.mathema.pride
Class PreparedUpdate

java.lang.Object
  extended by de.mathema.pride.PreparedOperation
      extended by de.mathema.pride.PreparedUpdate
All Implemented Interfaces:
TransactionListener

public class PreparedUpdate
extends PreparedOperation

Author:
Jan Lessner

Field Summary
protected  java.lang.String[] dbkeyfields
           
static java.lang.String REVISION_ID
           
protected  java.lang.String[] updatefields
           
 
Fields inherited from class de.mathema.pride.PreparedOperation
db, operation, red, stmt
 
Constructor Summary
PreparedUpdate(RecordDescriptor red)
           
PreparedUpdate(java.lang.String[] dbkeyfields, RecordDescriptor red)
           
PreparedUpdate(java.lang.String[] dbkeyfields, java.lang.String[] updatefields, RecordDescriptor red)
           
 
Method Summary
 void setParameters(java.lang.Object obj)
           
 
Methods inherited from class de.mathema.pride.PreparedOperation
addBatch, close, commit, execute, executeBatch, rollback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbkeyfields

protected java.lang.String[] dbkeyfields

updatefields

protected java.lang.String[] updatefields

REVISION_ID

public static final java.lang.String REVISION_ID
See Also:
Constant Field Values
Constructor Detail

PreparedUpdate

public PreparedUpdate(java.lang.String[] dbkeyfields,
                      java.lang.String[] updatefields,
                      RecordDescriptor red)
               throws java.sql.SQLException,
                      java.lang.IllegalAccessException,
                      java.lang.reflect.InvocationTargetException
Throws:
java.sql.SQLException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

PreparedUpdate

public PreparedUpdate(java.lang.String[] dbkeyfields,
                      RecordDescriptor red)
               throws java.sql.SQLException,
                      java.lang.IllegalAccessException,
                      java.lang.reflect.InvocationTargetException
Throws:
java.sql.SQLException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

PreparedUpdate

public PreparedUpdate(RecordDescriptor red)
               throws java.sql.SQLException,
                      java.lang.IllegalAccessException,
                      java.lang.reflect.InvocationTargetException
Throws:
java.sql.SQLException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Method Detail

setParameters

public void setParameters(java.lang.Object obj)
                   throws java.sql.SQLException
Specified by:
setParameters in class PreparedOperation
Throws:
java.sql.SQLException