Package net.ontopia.persistence.proxy
Class SQLBatchOneToOne
- java.lang.Object
-
- net.ontopia.persistence.proxy.SQLOneToOne
-
- 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
Fields Modifier and Type Field Description protected booleandebugprotected PreparedStatementstm_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
Constructors Constructor Description SQLBatchOneToOne(RDBMSAccess access, FieldInfoIF field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecuteUpdate(PreparedStatement stm, String sql)voidflush()INTERNAL: Tells the object to flush itself.protected PreparedStatementset_getStatement()-
Methods inherited from class net.ontopia.persistence.proxy.SQLOneToOne
clear, load, loadMultiple, storeDirty
-
-
-
-
Field Detail
-
debug
protected boolean debug
-
stm_set
protected PreparedStatement stm_set
-
-
Constructor Detail
-
SQLBatchOneToOne
public SQLBatchOneToOne(RDBMSAccess access, FieldInfoIF field)
-
-
Method Detail
-
set_getStatement
protected PreparedStatement set_getStatement() throws SQLException
- Overrides:
set_getStatementin classSQLOneToOne- Throws:
SQLException
-
executeUpdate
protected void executeUpdate(PreparedStatement stm, String sql) throws Exception
- Overrides:
executeUpdatein classSQLOneToOne- Throws:
Exception
-
flush
public void flush() throws ExceptionDescription copied from interface:FlushableIFINTERNAL: Tells the object to flush itself.- Specified by:
flushin interfaceFlushableIF- Throws:
Exception
-
-