it.imolinfo.jbi4cics.connection.jdbc.util
Class DisconnectedStatementFactory
java.lang.Object
it.imolinfo.jbi4cics.connection.jdbc.util.DisconnectedStatementFactory
public class DisconnectedStatementFactory
- extends java.lang.Object
l'obiettivo di questi statemetn disconnessi è di consentire l'operativita anche in assenza di una connessione sql
il funzionamento generale è quello di "memorizzare" le operazioni che vengono su di essi chiamate e poi eseguirle
in sequenza quando viene assegnata la connessione.
In generale le operazioni che è possibile memorizzare sono quelle che ritornano void. Le altre possono essere eseguite solo
quando lo statement è in fase connessa, in tal caso saranno immediatamente delegate al vero statement sottostante
- Author:
- raffaele
Method Summary |
static DisconnectedStatement |
createDisconnectedStatement()
|
static DisconnectedStatement |
createDisconnectedStatement(int resultSetType,
int resultSetConcurrency)
|
static DisconnectedStatement |
createDisconnectedStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
static DisconnectedCallableStatement |
prepareDisconnectedCall(java.lang.String sql)
|
static DisconnectedCallableStatement |
prepareDisconnectedCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
|
static DisconnectedCallableStatement |
prepareDisconnectedCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
static DisconnectedPreparedStatement |
prepareDisconnectedStatement(java.lang.String sql)
|
static DisconnectedPreparedStatement |
prepareDisconnectedStatement(java.lang.String sql,
int autoGeneratedKeys)
|
static DisconnectedPreparedStatement |
prepareDisconnectedStatement(java.lang.String sql,
int[] columnIndexes)
|
static DisconnectedPreparedStatement |
prepareDisconnectedStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
|
static DisconnectedPreparedStatement |
prepareDisconnectedStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
|
static DisconnectedPreparedStatement |
prepareDisconnectedStatement(java.lang.String sql,
java.lang.String[] columnNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisconnectedStatementFactory
public DisconnectedStatementFactory()
- void constructor.
createDisconnectedStatement
public static DisconnectedStatement createDisconnectedStatement()
createDisconnectedStatement
public static DisconnectedStatement createDisconnectedStatement(int resultSetType,
int resultSetConcurrency)
createDisconnectedStatement
public static DisconnectedStatement createDisconnectedStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
prepareDisconnectedStatement
public static DisconnectedPreparedStatement prepareDisconnectedStatement(java.lang.String sql)
prepareDisconnectedStatement
public static DisconnectedPreparedStatement prepareDisconnectedStatement(java.lang.String sql,
int autoGeneratedKeys)
prepareDisconnectedStatement
public static DisconnectedPreparedStatement prepareDisconnectedStatement(java.lang.String sql,
int[] columnIndexes)
prepareDisconnectedStatement
public static DisconnectedPreparedStatement prepareDisconnectedStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
prepareDisconnectedStatement
public static DisconnectedPreparedStatement prepareDisconnectedStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
prepareDisconnectedStatement
public static DisconnectedPreparedStatement prepareDisconnectedStatement(java.lang.String sql,
java.lang.String[] columnNames)
prepareDisconnectedCall
public static DisconnectedCallableStatement prepareDisconnectedCall(java.lang.String sql)
prepareDisconnectedCall
public static DisconnectedCallableStatement prepareDisconnectedCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
prepareDisconnectedCall
public static DisconnectedCallableStatement prepareDisconnectedCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Copyright © 2005-2008 Imola Informatica. All Rights Reserved.