Package net.ontopia.persistence.proxy
Class SQLBatchOneToManyAggregate
java.lang.Object
net.ontopia.persistence.proxy.SQLOneToManyAggregate
net.ontopia.persistence.proxy.SQLBatchOneToManyAggregate
- All Implemented Interfaces:
FieldAccessIF,FlushableIF
INTERNAL: Class that performs the task of accessing and
manipulating 1:M aggregate fields in the database.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected PreparedStatementprotected PreparedStatementprotected PreparedStatementFields inherited from class net.ontopia.persistence.proxy.SQLOneToManyAggregate
access, batchSize, cinfo, close_stm, field, identity_field, select_fields, sql_add, sql_clear, sql_load, sql_load_multiple, sql_remove -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PreparedStatementprotected PreparedStatementprotected voidexecuteUpdate(PreparedStatement stm, String sql) voidflush()INTERNAL: Tells the object to flush itself.protected PreparedStatementMethods inherited from class net.ontopia.persistence.proxy.SQLOneToManyAggregate
add, add_bindParameters, clear, clear_bindParameters, load, loadMultiple, remove, remove_bindParameters, storeDirty
-
Field Details
-
debug
protected boolean debug -
stm_add
-
stm_remove
-
stm_clear
-
-
Constructor Details
-
SQLBatchOneToManyAggregate
-
-
Method Details
-
add_getStatement
- Overrides:
add_getStatementin classSQLOneToManyAggregate- Throws:
SQLException
-
remove_getStatement
- Overrides:
remove_getStatementin classSQLOneToManyAggregate- Throws:
SQLException
-
clear_getStatement
- Overrides:
clear_getStatementin classSQLOneToManyAggregate- Throws:
SQLException
-
executeUpdate
- Overrides:
executeUpdatein classSQLOneToManyAggregate- Throws:
Exception
-
flush
Description copied from interface:FlushableIFINTERNAL: Tells the object to flush itself.- Specified by:
flushin interfaceFlushableIF- Throws:
Exception
-