public static class ERXJDBCUtilities.CopyTask extends Object
Modifier and Type | Field and Description |
---|---|
protected Connection |
_dest |
protected NSDictionary |
_destDictionary |
protected NSMutableArray<com.webobjects.eoaccess.EOEntity> |
_entities |
protected boolean |
_quoteDestination |
protected boolean |
_quoteSource |
protected Connection |
_source |
protected NSDictionary |
_sourceDictionary |
Constructor and Description |
---|
CopyTask() |
CopyTask(com.webobjects.eoaccess.EOEntity anEntity) |
CopyTask(com.webobjects.eoaccess.EOModel aModel) |
CopyTask(com.webobjects.eoaccess.EOModelGroup aModelGroup) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEntitiesFromModel(com.webobjects.eoaccess.EOModel model) |
protected void |
addEntitiesFromModelGroup(com.webobjects.eoaccess.EOModelGroup group) |
void |
addEntity(com.webobjects.eoaccess.EOEntity entity) |
protected EOAttribute[] |
attributesArray(NSArray<EOAttribute> array) |
protected String[] |
columnsFromAttributes(EOAttribute[] attributes,
boolean quoteNames) |
protected NSArray<String> |
columnsFromAttributesAsArray(EOAttribute[] attributes,
boolean quoteNames) |
void |
commit() |
void |
connect(NSDictionary aSourceConnectionDict,
NSDictionary aDestConnectionDict) |
void |
connect(String sourcePrefix,
String destPrefix) |
protected Connection |
connectionWithDictionary(NSDictionary dict) |
protected void |
copyEntity(com.webobjects.eoaccess.EOEntity entity) |
void |
run() |
void |
run(boolean commitAtEnd) |
protected NSDictionary _sourceDictionary
protected NSDictionary _destDictionary
protected Connection _source
protected Connection _dest
protected boolean _quoteSource
protected boolean _quoteDestination
protected NSMutableArray<com.webobjects.eoaccess.EOEntity> _entities
public CopyTask(com.webobjects.eoaccess.EOModelGroup aModelGroup)
public CopyTask(com.webobjects.eoaccess.EOModel aModel)
public CopyTask(com.webobjects.eoaccess.EOEntity anEntity)
public CopyTask()
public void connect(NSDictionary aSourceConnectionDict, NSDictionary aDestConnectionDict) throws SQLException
SQLException
public void connect(String sourcePrefix, String destPrefix) throws SQLException
SQLException
protected void addEntitiesFromModelGroup(com.webobjects.eoaccess.EOModelGroup group)
protected void addEntitiesFromModel(com.webobjects.eoaccess.EOModel model)
public void addEntity(com.webobjects.eoaccess.EOEntity entity)
public void run() throws SQLException
SQLException
public void run(boolean commitAtEnd) throws SQLException
SQLException
public void commit() throws SQLException
SQLException
protected Connection connectionWithDictionary(NSDictionary dict) throws SQLException
SQLException
protected String[] columnsFromAttributes(EOAttribute[] attributes, boolean quoteNames)
protected NSArray<String> columnsFromAttributesAsArray(EOAttribute[] attributes, boolean quoteNames)
protected EOAttribute[] attributesArray(NSArray<EOAttribute> array)
protected void copyEntity(com.webobjects.eoaccess.EOEntity entity) throws SQLException
SQLException
Copyright © 2002 – 2020 Project Wonder.