er.extensions.jdbc
Class ERXJDBCUtilities.CopyTask
java.lang.Object
er.extensions.jdbc.ERXJDBCUtilities.CopyTask
- Enclosing class:
- ERXJDBCUtilities
public static class ERXJDBCUtilities.CopyTask
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_sourceDictionary
protected NSDictionary _sourceDictionary
_destDictionary
protected NSDictionary _destDictionary
_source
protected Connection _source
_dest
protected Connection _dest
_quoteSource
protected boolean _quoteSource
_quoteDestination
protected boolean _quoteDestination
_entities
protected NSMutableArray<EOEntity> _entities
ERXJDBCUtilities.CopyTask
public ERXJDBCUtilities.CopyTask(EOModelGroup aModelGroup)
ERXJDBCUtilities.CopyTask
public ERXJDBCUtilities.CopyTask(EOModel aModel)
ERXJDBCUtilities.CopyTask
public ERXJDBCUtilities.CopyTask(EOEntity anEntity)
ERXJDBCUtilities.CopyTask
public ERXJDBCUtilities.CopyTask()
connect
public void connect(NSDictionary aSourceConnectionDict,
NSDictionary aDestConnectionDict)
throws SQLException
- Throws:
SQLException
connect
public void connect(String sourcePrefix,
String destPrefix)
throws SQLException
- Throws:
SQLException
addEntitiesFromModelGroup
protected void addEntitiesFromModelGroup(EOModelGroup group)
addEntitiesFromModel
protected void addEntitiesFromModel(EOModel model)
addEntity
public void addEntity(EOEntity entity)
run
public void run()
throws SQLException
- Throws:
SQLException
run
public void run(boolean commitAtEnd)
throws SQLException
- Throws:
SQLException
commit
public void commit()
throws SQLException
- Throws:
SQLException
connectionWithDictionary
protected Connection connectionWithDictionary(NSDictionary dict)
throws SQLException
- Throws:
SQLException
columnsFromAttributes
protected String[] columnsFromAttributes(EOAttribute[] attributes,
boolean quoteNames)
columnsFromAttributesAsArray
protected NSArray<String> columnsFromAttributesAsArray(EOAttribute[] attributes,
boolean quoteNames)
attributesArray
protected EOAttribute[] attributesArray(NSArray<EOAttribute> array)
copyEntity
protected void copyEntity(EOEntity entity)
throws SQLException
- Throws:
SQLException
Copyright © 2002 – 2007 Project Wonder.