net.ontopia.persistence.proxy
Class SQLBatchOneToOne

java.lang.Object
  extended by net.ontopia.persistence.proxy.SQLOneToOne
      extended by net.ontopia.persistence.proxy.SQLBatchOneToOne
All Implemented Interfaces:
FieldAccessIF, FlushableIF

public class SQLBatchOneToOne
extends SQLOneToOne
implements FlushableIF

INTERNAL: Class that performs the task of accessing and manipulating 1:1 fields in the database.


Field Summary
protected  boolean debug
           
protected  java.sql.PreparedStatement stm_set
           
 
Fields inherited from class net.ontopia.persistence.proxy.SQLOneToOne
access, batchSize, close_stm, field, identity_field, select_fields, select_fields_ref, select_value_index, sql_load, sql_load_multiple, sql_set, value_field
 
Constructor Summary
SQLBatchOneToOne(RDBMSAccess access, FieldInfoIF field)
           
 
Method Summary
protected  void executeUpdate(java.sql.PreparedStatement stm, java.lang.String sql)
           
 void flush()
          INTERNAL: Tells the object to flush itself.
protected  java.sql.PreparedStatement set_getStatement()
           
 
Methods inherited from class net.ontopia.persistence.proxy.SQLOneToOne
clear, load, loadMultiple, storeDirty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected boolean debug

stm_set

protected java.sql.PreparedStatement stm_set
Constructor Detail

SQLBatchOneToOne

public SQLBatchOneToOne(RDBMSAccess access,
                        FieldInfoIF field)
Method Detail

set_getStatement

protected java.sql.PreparedStatement set_getStatement()
                                               throws java.sql.SQLException
Overrides:
set_getStatement in class SQLOneToOne
Throws:
java.sql.SQLException

executeUpdate

protected void executeUpdate(java.sql.PreparedStatement stm,
                             java.lang.String sql)
                      throws java.lang.Exception
Overrides:
executeUpdate in class SQLOneToOne
Throws:
java.lang.Exception

flush

public void flush()
           throws java.lang.Exception
Description copied from interface: FlushableIF
INTERNAL: Tells the object to flush itself.

Specified by:
flush in interface FlushableIF
Throws:
java.lang.Exception


Copyright © 2000-2012 Ontopia.