Package net.ontopia.persistence.proxy
Class SQLBatchObjectAccess
java.lang.Object
net.ontopia.persistence.proxy.SQLObjectAccess
net.ontopia.persistence.proxy.SQLBatchObjectAccess
- All Implemented Interfaces:
ClassAccessIF,FlushableIF
INTERNAL: Class that performs the task of creating new objects in
the database.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected PreparedStatementprotected PreparedStatementFields inherited from class net.ontopia.persistence.proxy.SQLObjectAccess
access, batchSize, cinfo, faccesses, identity_field, m2m_fields, o2a_fields, o2o_fields, sql_create, sql_delete, sql_load, value_fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(ObjectAccessIF oaccess, Object object) INTERNAL: Creates the new object identity in the database.voiddelete(IdentityIF identity) INTERNAL: Deletes the object identity in the database.voidflush()INTERNAL: Tells the object to flush itself.protected PreparedStatementprotected PreparedStatementprotected FieldAccessIFgetFieldAccess(int field) Methods inherited from class net.ontopia.persistence.proxy.SQLObjectAccess
bindParametersCreate, bindParametersDelete, clearFields, delete, load, loadField, loadFieldMultiple, storeDirty
-
Field Details
-
debug
protected boolean debug -
stm_create
-
stm_delete
-
-
Constructor Details
-
SQLBatchObjectAccess
-
-
Method Details
-
getFieldAccess
- Overrides:
getFieldAccessin classSQLObjectAccess
-
flush
Description copied from interface:FlushableIFINTERNAL: Tells the object to flush itself.- Specified by:
flushin interfaceFlushableIF- Throws:
Exception
-
create
INTERNAL: Creates the new object identity in the database.- Specified by:
createin interfaceClassAccessIF- Overrides:
createin classSQLObjectAccess- Throws:
Exception
-
get_createStatement
- Throws:
SQLException
-
delete
INTERNAL: Deletes the object identity in the database.- Throws:
Exception
-
get_deleteStatement
- Throws:
SQLException
-