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.
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
protected boolean debug
stm_add
protected PreparedStatement stm_add
stm_remove
protected PreparedStatement stm_remove
stm_clear
protected PreparedStatement stm_clear
SQLBatchManyToManyReference
public SQLBatchManyToManyReference(RDBMSAccess access,
FieldInfoIF field)
add_getStatement
protected PreparedStatement add_getStatement()
throws SQLException
- Overrides:
add_getStatement
in class SQLManyToManyReference
- Throws:
SQLException
remove_getStatement
protected PreparedStatement remove_getStatement()
throws SQLException
- Overrides:
remove_getStatement
in class SQLManyToManyReference
- Throws:
SQLException
clear_getStatement
protected PreparedStatement clear_getStatement()
throws SQLException
- Overrides:
clear_getStatement
in class SQLManyToManyReference
- Throws:
SQLException
executeUpdate
protected void executeUpdate(PreparedStatement stm,
String sql)
throws Exception
- Overrides:
executeUpdate
in class SQLManyToManyReference
- Throws:
Exception
flush
public void flush()
throws Exception
- Description copied from interface:
FlushableIF
- INTERNAL: Tells the object to flush itself.
- Specified by:
flush
in interface FlushableIF
- Throws:
Exception
Copyright © 2000-2012 Ontopia.