com.mizar.persistence.jdbc.convert
Class JdbcOracleToPostgres

java.lang.Object
  extended by com.mizar.persistence.jdbc.convert.JdbcOracleToOtherRDBMS
      extended by com.mizar.persistence.jdbc.convert.JdbcOracleToPostgres

public class JdbcOracleToPostgres
extends JdbcOracleToOtherRDBMS


Field Summary
 
Fields inherited from class com.mizar.persistence.jdbc.convert.JdbcOracleToOtherRDBMS
oraColumnMetaData, oraConn, oraTableMetaData, oraUrl, oraUser, targetColumnMetaData, targetConn, targetTableMetaData, targetTablespaceName, targetUrl, targetUser, targetUsesLowerCaseMetadata, targetUsesMetadata, verbose
 
Constructor Summary
JdbcOracleToPostgres()
           
 
Method Summary
 int copyTable(java.lang.String tableName)
           
 boolean createTargetTableLike(java.lang.String oraTableName)
           
 org.apache.commons.logging.Log getLogger()
           
static void main(java.lang.String[] args)
           
 java.sql.Connection targetConnect(java.lang.String url, java.lang.String username, java.lang.String password)
           
 
Methods inherited from class com.mizar.persistence.jdbc.convert.JdbcOracleToOtherRDBMS
close, findAll, getCount, getOraColumnMetaData, getOraConn, getOraTableMetaData, getOraUrl, getOraUser, getTargetColumnMetaData, getTargetConn, getTargetTableMetaData, getTargetTablespaceName, getTargetUrl, getTargetUser, isTargetUsesLowerCaseMetadata, isTargetUsesMetadata, isVerbose, oracleConnect, setOraConn, setOraUrl, setOraUser, setTargetConn, setTargetTablespaceName, setTargetUrl, setTargetUser, setTargetUsesLowerCaseMetadata, setTargetUsesMetadata, setVerbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcOracleToPostgres

public JdbcOracleToPostgres()
Method Detail

getLogger

public org.apache.commons.logging.Log getLogger()
Specified by:
getLogger in class JdbcOracleToOtherRDBMS

targetConnect

public java.sql.Connection targetConnect(java.lang.String url,
                                         java.lang.String username,
                                         java.lang.String password)
                                  throws java.sql.SQLException,
                                         java.lang.ClassNotFoundException
Specified by:
targetConnect in class JdbcOracleToOtherRDBMS
Throws:
java.sql.SQLException
java.lang.ClassNotFoundException

createTargetTableLike

public boolean createTargetTableLike(java.lang.String oraTableName)
                              throws java.sql.SQLException
Overrides:
createTargetTableLike in class JdbcOracleToOtherRDBMS
Throws:
java.sql.SQLException

copyTable

public int copyTable(java.lang.String tableName)
              throws java.sql.SQLException
Overrides:
copyTable in class JdbcOracleToOtherRDBMS
Throws:
java.sql.SQLException

main

public static void main(java.lang.String[] args)