SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.runtime
Class UpdateManagerImpl

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.impl.jdbc.runtime.UpdateManagerImpl
All Implemented Interfaces:
UpdateManager

public class UpdateManagerImpl
extends java.lang.Object
implements UpdateManager

Standard update manager, capable of statement batching and foreign key constraint evaluation.


Constructor Summary
UpdateManagerImpl()
           
 
Method Summary
 java.util.Collection flush(java.util.Collection states, com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store, java.sql.Connection conn)
          Flush the given instances to the data store.
 boolean getBatchSQL()
          If true, the update manager will batch SQL statements, ordering them to maximize the batch size.
 boolean getForeignKeyConstraints()
          If true, then the update manager will automatically order operations to obey foreign key constraints.
 void setBatchSQL(boolean batch)
          If true, the execution manager will batch SQL statements, ordering them to maximize the batch size.
 void setConfiguration(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
          Set the system configuraiton.
 void setForeignKeyConstraints(boolean fks)
          If true, then the update manager will automatically order operations to obey foreign key constraints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateManagerImpl

public UpdateManagerImpl()
Method Detail

getForeignKeyConstraints

public boolean getForeignKeyConstraints()
If true, then the update manager will automatically order operations to obey foreign key constraints. Defaults to false.


setForeignKeyConstraints

public void setForeignKeyConstraints(boolean fks)
If true, then the update manager will automatically order operations to obey foreign key constraints. Defaults to false.


getBatchSQL

public boolean getBatchSQL()
If true, the update manager will batch SQL statements, ordering them to maximize the batch size. If foreign key constraint checking is on, then foreign key constraints will still be obeyed. Default value depends on the JDBC driver metadata.


setBatchSQL

public void setBatchSQL(boolean batch)
If true, the execution manager will batch SQL statements, ordering them to maximize the batch size. If foreign key constraint checking is on, then foreign key constraints will still be obeyed. Default value depends on the JDBC driver metadata.


setConfiguration

public void setConfiguration(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
Description copied from interface: UpdateManager
Set the system configuraiton.

Specified by:
setConfiguration in interface UpdateManager

flush

public java.util.Collection flush(java.util.Collection states,
                                  com.solarmetric.rd.kodo.impl.jdbc.runtime.JDBCStoreManager store,
                                  java.sql.Connection conn)
                           throws java.sql.SQLException
Description copied from interface: UpdateManager
Flush the given instances to the data store. #see com.solarmetric.kodo.runtime.StoreManager#flush

Specified by:
flush in interface UpdateManager
java.sql.SQLException

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.