Java Doc for FullTableCopy.java in  » Groupware » hipergate » com » knowgate » datacopy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Groupware » hipergate » com.knowgate.datacopy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.knowgate.datacopy.DataStruct
   com.knowgate.datacopy.FullTableCopy

FullTableCopy
public class FullTableCopy extends DataStruct (Code)

Copy data from one table to another


author:
   Sergio Montoro Ten
version:
   3.0



Constructor Summary
public  FullTableCopy()
    

Method Summary
public  voidinsert(String sOriginTable, String sTargetTable, String sOriginWhere, boolean bTruncate)
    
public  voidinsert(String sOriginTable, String sTargetTable, boolean bTruncate)
    


Constructor Detail
FullTableCopy
public FullTableCopy()(Code)




Method Detail
insert
public void insert(String sOriginTable, String sTargetTable, String sOriginWhere, boolean bTruncate) throws SQLException, ClassNotFoundException, IOException, InstantiationException, IllegalAccessException, SAXException(Code)
Copy some data from origin table to target table
Parameters:
  sOriginTable - String
Parameters:
  sTargetTable - String
Parameters:
  sOriginWhere - String Filter clause (SQL WHERE) to be applied to origin table
Parameters:
  bTruncate - boolean if true Truncate target table before inserting
throws:
  SQLException -
throws:
  ClassNotFoundException -
throws:
  IOException -
throws:
  InstantiationException -
throws:
  IllegalAccessException -
throws:
  SAXException -



insert
public void insert(String sOriginTable, String sTargetTable, boolean bTruncate) throws SQLException, ClassNotFoundException, IOException, InstantiationException, IllegalAccessException, SAXException(Code)
Copy all data from origin table to target table
Parameters:
  sOriginTable - String
Parameters:
  sTargetTable - String
Parameters:
  bTruncate - boolean if true Truncate target table before inserting
throws:
  SQLException -
throws:
  ClassNotFoundException -
throws:
  IOException -
throws:
  InstantiationException -
throws:
  IllegalAccessException -
throws:
  SAXException -



Fields inherited from com.knowgate.datacopy.DataStruct
protected Vector After(Code)(Java Doc)
protected Vector Before(Code)(Java Doc)
final protected static boolean DEFAULT_DYNAMIC_VALIDATION(Code)(Java Doc)
final protected static boolean DEFAULT_MEMORY_USAGE(Code)(Java Doc)
final protected static boolean DEFAULT_NAMESPACES(Code)(Java Doc)
final protected static boolean DEFAULT_NAMESPACE_PREFIXES(Code)(Java Doc)
final protected static String DEFAULT_PARSER_NAME(Code)(Java Doc)
final protected static int DEFAULT_REPETITION(Code)(Java Doc)
final protected static boolean DEFAULT_SCHEMA_FULL_CHECKING(Code)(Java Doc)
final protected static boolean DEFAULT_SCHEMA_VALIDATION(Code)(Java Doc)
final protected static boolean DEFAULT_TAGGINESS(Code)(Java Doc)
final protected static boolean DEFAULT_VALIDATION(Code)(Java Doc)
final protected static String DYNAMIC_VALIDATION_FEATURE_ID(Code)(Java Doc)
protected Vector DataRowSets(Code)(Java Doc)
protected PreparedStatement DlStatements(Code)(Java Doc)
protected Vector FieldDefs(Code)(Java Doc)
protected Vector FieldMaps(Code)(Java Doc)
protected LinkedList InitStmts(Code)(Java Doc)
final protected static String NAMESPACES_FEATURE_ID(Code)(Java Doc)
final protected static String NAMESPACE_PREFIXES_FEATURE_ID(Code)(Java Doc)
protected DataTblDef OrMetaData(Code)(Java Doc)
protected PreparedStatement OrStatements(Code)(Java Doc)
final protected static String SCHEMA_FULL_CHECKING_FEATURE_ID(Code)(Java Doc)
final protected static String SCHEMA_VALIDATION_FEATURE_ID(Code)(Java Doc)
protected LinkedList TermStmts(Code)(Java Doc)
protected DataTblDef TrMetaData(Code)(Java Doc)
protected PreparedStatement TrStatements(Code)(Java Doc)
protected Vector Transformations(Code)(Java Doc)
protected PreparedStatement UpStatements(Code)(Java Doc)
final protected static String VALIDATION_FEATURE_ID(Code)(Java Doc)
protected int cTables(Code)(Java Doc)
protected int iCols(Code)(Java Doc)
protected int iRows(Code)(Java Doc)
protected HashMap oFromPKs(Code)(Java Doc)
public HashMap oInsertTexts(Code)(Java Doc)
protected Vector oResults(Code)(Java Doc)
public HashMap oSelectTexts(Code)(Java Doc)
protected HashMap oToPKs(Code)(Java Doc)

Methods inherited from com.knowgate.datacopy.DataStruct
public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc)
public void clear() throws SQLException(Code)(Java Doc)
public void commit() throws SQLException(Code)(Java Doc)
protected String composeError(String type, SAXParseException ex)(Code)(Java Doc)
public void connectOrigin(String sDriver, String sURL, String sUsr, String sPwd, String sSchema) throws SQLException, ClassNotFoundException(Code)(Java Doc)
public void connectTarget(String sDriver, String sURL, String sUsr, String sPwd, String sSchema) throws SQLException, ClassNotFoundException(Code)(Java Doc)
public Object convert(Object oValue, int iSQLType)(Code)(Java Doc)
public void createClassSource(String sPackage, String sSubClassName, String sFile) throws IOException(Code)(Java Doc)
public void disconnectAll() throws SQLException(Code)(Java Doc)
public void endElement(String uri, String localName, String qname) throws SAXException(Code)(Java Doc)
public void error(SAXParseException ex) throws SAXException(Code)(Java Doc)
protected void execCommands(String sTime, int iTable, Object PK, int cParams) throws SQLException, NullPointerException(Code)(Java Doc)
public void fatalError(SAXParseException ex) throws SAXException(Code)(Java Doc)
public Connection getOriginConnection()(Code)(Java Doc)
protected Object getResult(int iRow, int iCol)(Code)(Java Doc)
protected DataRowSet getRowSet(int i)(Code)(Java Doc)
protected void getRows(Object[] OrPK, Object[] TrPK, int cParams, int iTable) throws SQLException(Code)(Java Doc)
public Connection getTargetConnection()(Code)(Java Doc)
public void insert(Object[] OrPK, Object[] TrPK, int cParams) throws SQLException, NullPointerException(Code)(Java Doc)
public int mapType(int iSQLType)(Code)(Java Doc)
public void parse(String sXMLFile) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException, SAXException(Code)(Java Doc)
public void parse(String sXMLFile, Properties oProps) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException, SAXException(Code)(Java Doc)
public void prepareStatements() throws SQLException(Code)(Java Doc)
public void rollback() throws SQLException(Code)(Java Doc)
protected void seekReferal(DataTransformation oTransform)(Code)(Java Doc)
public void setAutoCommit(boolean bAutoCommit) throws SQLException(Code)(Java Doc)
public void setOriginConnection(Connection oConn)(Code)(Java Doc)
public void setTargetConnection(Connection oConn)(Code)(Java Doc)
public void startDocument() throws SAXException(Code)(Java Doc)
public void startElement(String uri, String local, String raw, Attributes attrs) throws SAXException(Code)(Java Doc)
public void update(Object[] OrPK, Object[] TrPK, int cParams) throws SQLException(Code)(Java Doc)
public void warning(SAXParseException ex) throws SAXException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.