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