org.objectweb.cjdbc.driver
Class PreparedStatement.BatchElement

java.lang.Object
  extended byorg.objectweb.cjdbc.driver.PreparedStatement.BatchElement
Enclosing class:
PreparedStatement

private class PreparedStatement.BatchElement
extends java.lang.Object

This class defines a BatchElement used for the batch update vector of PreparedStatements to execute.

Version:
1.0
Author:
Emmanuel Cecchet

Field Summary
private  java.lang.String compiledSql
           
private  java.lang.String sqlTemplate
           
 
Constructor Summary
PreparedStatement.BatchElement(java.lang.String sqlTemplate, java.lang.String compiledSql)
          Creates a new BatchElement object
 
Method Summary
 java.lang.String getCompiledSql()
          Returns the compiledSql value.
 java.lang.String getSqlTemplate()
          Returns the sqlTemplate value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sqlTemplate

private java.lang.String sqlTemplate

compiledSql

private java.lang.String compiledSql
Constructor Detail

PreparedStatement.BatchElement

public PreparedStatement.BatchElement(java.lang.String sqlTemplate,
                                      java.lang.String compiledSql)
Creates a new BatchElement object

Parameters:
sqlTemplate - SQL query template (aka skeleton)
compiledSql - compiled SQL statement
Method Detail

getCompiledSql

public java.lang.String getCompiledSql()
Returns the compiledSql value.

Returns:
Returns the compiledSql.

getSqlTemplate

public java.lang.String getSqlTemplate()
Returns the sqlTemplate value.

Returns:
Returns the sqlTemplate.


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.