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 boolean
debug
protected 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
Constructors Constructor Description SQLBatchOneToOne(RDBMSAccess access, FieldInfoIF field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeUpdate(PreparedStatement stm, String sql)
void
flush()
INTERNAL: Tells the object to flush itself.protected PreparedStatement
set_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_getStatement
in classSQLOneToOne
- Throws:
SQLException
-
executeUpdate
protected void executeUpdate(PreparedStatement stm, String sql) throws Exception
- Overrides:
executeUpdate
in classSQLOneToOne
- Throws:
Exception
-
flush
public void flush() throws Exception
Description copied from interface:FlushableIF
INTERNAL: Tells the object to flush itself.- Specified by:
flush
in interfaceFlushableIF
- Throws:
Exception
-
-