Package net.ontopia.persistence.proxy
Class SQLBatchOneToManyReference
- java.lang.Object
-
- net.ontopia.persistence.proxy.SQLOneToManyReference
-
- net.ontopia.persistence.proxy.SQLBatchOneToManyReference
-
- All Implemented Interfaces:
FieldAccessIF,FlushableIF
public class SQLBatchOneToManyReference extends SQLOneToManyReference implements FlushableIF
INTERNAL: Class that performs the task of accessing and manipulating 1:M reference fields in the database.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleandebugprotected PreparedStatementstm_addprotected PreparedStatementstm_clearprotected PreparedStatementstm_remove-
Fields inherited from class net.ontopia.persistence.proxy.SQLOneToManyReference
access, batchSize, close_stm, field, identity_field, select_fields, sql_add, sql_clear, sql_load, sql_load_multiple, sql_remove, value_field
-
-
Constructor Summary
Constructors Constructor Description SQLBatchOneToManyReference(RDBMSAccess access, FieldInfoIF field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PreparedStatementadd_getStatement()protected PreparedStatementclear_getStatement()protected voidexecuteUpdate(PreparedStatement stm, String sql)voidflush()INTERNAL: Tells the object to flush itself.protected PreparedStatementremove_getStatement()-
Methods inherited from class net.ontopia.persistence.proxy.SQLOneToManyReference
add, add_bindParameters, clear, clear_bindParameters, load, loadMultiple, remove, remove_bindParameters, storeDirty
-
-
-
-
Field Detail
-
debug
protected boolean debug
-
stm_add
protected PreparedStatement stm_add
-
stm_remove
protected PreparedStatement stm_remove
-
stm_clear
protected PreparedStatement stm_clear
-
-
Constructor Detail
-
SQLBatchOneToManyReference
public SQLBatchOneToManyReference(RDBMSAccess access, FieldInfoIF field)
-
-
Method Detail
-
add_getStatement
protected PreparedStatement add_getStatement() throws SQLException
- Overrides:
add_getStatementin classSQLOneToManyReference- Throws:
SQLException
-
remove_getStatement
protected PreparedStatement remove_getStatement() throws SQLException
- Overrides:
remove_getStatementin classSQLOneToManyReference- Throws:
SQLException
-
clear_getStatement
protected PreparedStatement clear_getStatement() throws SQLException
- Overrides:
clear_getStatementin classSQLOneToManyReference- Throws:
SQLException
-
executeUpdate
protected void executeUpdate(PreparedStatement stm, String sql) throws Exception
- Overrides:
executeUpdatein classSQLOneToManyReference- Throws:
Exception
-
flush
public void flush() throws ExceptionDescription copied from interface:FlushableIFINTERNAL: Tells the object to flush itself.- Specified by:
flushin interfaceFlushableIF- Throws:
Exception
-
-