com.etasoft.trans.io
Class axJdbcWriter

java.lang.Object
  extended bycom.etasoft.trans.io.axWriter
      extended bycom.etasoft.trans.io.axJdbcWriter

public class axJdbcWriter
extends axWriter

Jdbc writer.


Constructor Summary
axJdbcWriter(java.lang.String dataPath, axInputParameters inputParams, boolean autoCommit)
          Create jdbc writer based on data path provided.
 
Method Summary
 void close()
          Used.
 void open(java.lang.String dataPath, axInputParameters inputParams)
          Open JDBC connection.
 void write(char[] cbuf)
          Overwrite for file and character based output.
 void write(java.lang.String section, java.util.HashMap tabFields, boolean prepareSQL)
          Write section and related elements or fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

axJdbcWriter

public axJdbcWriter(java.lang.String dataPath,
                    axInputParameters inputParams,
                    boolean autoCommit)
             throws axException
Create jdbc writer based on data path provided.

Method Detail

open

public void open(java.lang.String dataPath,
                 axInputParameters inputParams)
          throws axException
Open JDBC connection.

Specified by:
open in class axWriter
Throws:
axException

close

public void close()
Description copied from class: axWriter
Used.

Specified by:
close in class axWriter

write

public void write(char[] cbuf)
Description copied from class: axWriter
Overwrite for file and character based output.

Overrides:
write in class axWriter

write

public void write(java.lang.String section,
                  java.util.HashMap tabFields,
                  boolean prepareSQL)
           throws axException
Write section and related elements or fields.

Overrides:
write in class axWriter
Throws:
axException