|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.adapter.gsa.DBCopier
atg.adapter.gsa.BcpDBCopier
public class BcpDBCopier
A DB Copier for Sybase and Microsoft databases. This copier uses the bcp utility that is supported by both Microsoft SQL Server and Sybase Adaptive Server Enterprise.
This copier can generally be used with the default property settings,
with the exception of maxTextOrImageSize which you will want
to set to be no smaller than the largest text or image column in the
tables being copied. See your DB vendor documentation for details.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
|---|
DEFAULT_LOG_TRACE_STATUS |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
BcpDBCopier()
|
|
| Method Summary | |
|---|---|
void |
doStartService()
Start the service. |
int |
getMaxTextOrImageSize()
Get property maxTextOrImageSize |
boolean |
getUseNativeMode()
Get property useNativeMode |
boolean |
getUseTruncateTable()
Get property useTruncateTable |
boolean |
isUseNativeMode()
Test property useNativeMode |
boolean |
isUseTruncateTable()
Test property useTruncateTable |
void |
setMaxTextOrImageSize(int pMaxTextOrImageSize)
Set property maxTextOrImageSize |
void |
setUseNativeMode(boolean pUseNativeMode)
Set property useNativeMode |
void |
setUseTruncateTable(boolean pUseTruncateTable)
Set property useTruncateTable |
| Methods inherited from class atg.adapter.gsa.DBCopier |
|---|
cleanupDirectory, copy, getCleanupDirectory, getCommandOutput, getDataFileSuffix, getDeleteDataFileName, getDestination, getDirectory, getExportCommand, getImportCommand, getSource, getSqlCommand, getTables, isCleanupDirectory, setCleanupDirectory, setDataFileSuffix, setDeleteDataFileName, setDestination, setDirectory, setExportCommand, setImportCommand, setSource, setSqlCommand, setTables |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public BcpDBCopier()
| Method Detail |
|---|
public void setUseNativeMode(boolean pUseNativeMode)
useNativeMode
pUseNativeMode - new value to setpublic boolean getUseNativeMode()
useNativeMode
useNativeModepublic boolean isUseNativeMode()
useNativeMode
useNativeModepublic void setMaxTextOrImageSize(int pMaxTextOrImageSize)
maxTextOrImageSize
pMaxTextOrImageSize - new value to setpublic int getMaxTextOrImageSize()
maxTextOrImageSize
maxTextOrImageSizepublic void setUseTruncateTable(boolean pUseTruncateTable)
useTruncateTable
pUseTruncateTable - new value to setpublic boolean getUseTruncateTable()
useTruncateTable
useTruncateTablepublic boolean isUseTruncateTable()
useTruncateTable
useTruncateTablepublic void doStartService()
doStartService in class GenericService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||