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
INTERNAL: Class that performs the task of accessing and
manipulating 1:M reference fields in the database.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected PreparedStatementprotected PreparedStatementprotected PreparedStatementFields 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 -
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.SQLOneToManyReference
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
-
SQLBatchOneToManyReference
-
-
Method Details
-
add_getStatement
- Overrides:
add_getStatementin classSQLOneToManyReference- Throws:
SQLException
-
remove_getStatement
- Overrides:
remove_getStatementin classSQLOneToManyReference- Throws:
SQLException
-
clear_getStatement
- Overrides:
clear_getStatementin classSQLOneToManyReference- Throws:
SQLException
-
executeUpdate
- Overrides:
executeUpdatein classSQLOneToManyReference- Throws:
Exception
-
flush
Description copied from interface:FlushableIFINTERNAL: Tells the object to flush itself.- Specified by:
flushin interfaceFlushableIF- Throws:
Exception
-