Package net.ontopia.persistence.proxy
Class SQLBatchManyToManyReference
- java.lang.Object
-
- net.ontopia.persistence.proxy.SQLManyToManyReference
-
- net.ontopia.persistence.proxy.SQLBatchManyToManyReference
-
- All Implemented Interfaces:
FieldAccessIF,FlushableIF
public class SQLBatchManyToManyReference extends SQLManyToManyReference implements FlushableIF
INTERNAL: Class that performs the task of accessing and manipulating M: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.SQLManyToManyReference
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 SQLBatchManyToManyReference(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.SQLManyToManyReference
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
-
SQLBatchManyToManyReference
public SQLBatchManyToManyReference(RDBMSAccess access, FieldInfoIF field)
-
-
Method Detail
-
add_getStatement
protected PreparedStatement add_getStatement() throws SQLException
- Overrides:
add_getStatementin classSQLManyToManyReference- Throws:
SQLException
-
remove_getStatement
protected PreparedStatement remove_getStatement() throws SQLException
- Overrides:
remove_getStatementin classSQLManyToManyReference- Throws:
SQLException
-
clear_getStatement
protected PreparedStatement clear_getStatement() throws SQLException
- Overrides:
clear_getStatementin classSQLManyToManyReference- Throws:
SQLException
-
executeUpdate
protected void executeUpdate(PreparedStatement stm, String sql) throws Exception
- Overrides:
executeUpdatein classSQLManyToManyReference- Throws:
Exception
-
flush
public void flush() throws ExceptionDescription copied from interface:FlushableIFINTERNAL: Tells the object to flush itself.- Specified by:
flushin interfaceFlushableIF- Throws:
Exception
-
-