org.apache.openjpa.slice.jdbc
Class DistributedStatement

java.lang.Object
  extended by org.apache.openjpa.slice.jdbc.DistributedTemplate<Statement>
      extended by org.apache.openjpa.slice.jdbc.DistributedStatement
All Implemented Interfaces:
Iterable<Statement>, Statement, Wrapper

public abstract class DistributedStatement
extends DistributedTemplate<Statement>

A virtual Statement that delegates to many actual Statements.

Author:
Pinaki Poddar

Field Summary
(package private) static Constructor<DistributedStatement> concreteImpl
           
 
Fields inherited from class org.apache.openjpa.slice.jdbc.DistributedTemplate
con, master, stmts
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
DistributedStatement(DistributedConnection c)
           
 
Method Summary
static DistributedStatement newInstance(DistributedConnection conn)
           
 
Methods inherited from class org.apache.openjpa.slice.jdbc.DistributedTemplate
add, addBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, iterator, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Statement
isClosed, isPoolable, setPoolable
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Field Detail

concreteImpl

static final Constructor<DistributedStatement> concreteImpl
Constructor Detail

DistributedStatement

public DistributedStatement(DistributedConnection c)
Method Detail

newInstance

public static DistributedStatement newInstance(DistributedConnection conn)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.