jodd.db
Class DbQueryMode

java.lang.Object
  extended by jodd.db.DbQueryMode

public class DbQueryMode
extends java.lang.Object

DbQuery mode.


Field Summary
static int CLOSE_CURSORS_AT_COMMIT
           
static int CONCUR_READ_ONLY
           
static int CONCUR_UPDATABLE
           
static int HOLD_CURSORS_OVER_COMMIT
           
static int TYPE_FORWARD_ONLY
           
static int TYPE_SCROLL_INSENSITIVE
           
static int TYPE_SCROLL_SENSITIVE
           
 
Constructor Summary
DbQueryMode()
           
DbQueryMode(int type)
           
DbQueryMode(int type, int concurrencyType)
           
DbQueryMode(int type, int concurrencyType, int holdability)
           
DbQueryMode(int type, int concurrencyType, int holdability, boolean debug)
           
 
Method Summary
 DbQueryMode closeCursorsAtCommit()
           
 DbQueryMode concurReadOnly()
           
 DbQueryMode concurUpdatable()
           
 DbQueryMode debug()
           
 boolean equals(java.lang.Object object)
           
 int getConcurrencyType()
           
 int getHoldability()
           
 int getType()
           
 int hashCode()
           
 DbQueryMode holdCursorsOverCommit()
           
 boolean isDebug()
           
 DbQueryMode setConcurrencyType(int concurrencyType)
           
 DbQueryMode setDebug(boolean debug)
           
 DbQueryMode setHoldability(int holdability)
           
 DbQueryMode setType(int type)
           
 DbQueryMode typeForwardOnly()
           
 DbQueryMode typeScrollInsensitive()
           
 DbQueryMode typeScrollSensitive()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_FORWARD_ONLY

public static final int TYPE_FORWARD_ONLY
See Also:
ResultSet.TYPE_FORWARD_ONLY, Constant Field Values

TYPE_SCROLL_SENSITIVE

public static final int TYPE_SCROLL_SENSITIVE
See Also:
ResultSet.TYPE_SCROLL_SENSITIVE, Constant Field Values

TYPE_SCROLL_INSENSITIVE

public static final int TYPE_SCROLL_INSENSITIVE
See Also:
ResultSet.TYPE_SCROLL_INSENSITIVE, Constant Field Values

CONCUR_READ_ONLY

public static final int CONCUR_READ_ONLY
See Also:
ResultSet.CONCUR_READ_ONLY, Constant Field Values

CONCUR_UPDATABLE

public static final int CONCUR_UPDATABLE
See Also:
ResultSet.CONCUR_UPDATABLE, Constant Field Values

CLOSE_CURSORS_AT_COMMIT

public static final int CLOSE_CURSORS_AT_COMMIT
See Also:
ResultSet.CLOSE_CURSORS_AT_COMMIT, Constant Field Values

HOLD_CURSORS_OVER_COMMIT

public static final int HOLD_CURSORS_OVER_COMMIT
See Also:
ResultSet.HOLD_CURSORS_OVER_COMMIT, Constant Field Values
Constructor Detail

DbQueryMode

public DbQueryMode()

DbQueryMode

public DbQueryMode(int type)

DbQueryMode

public DbQueryMode(int type,
                   int concurrencyType)

DbQueryMode

public DbQueryMode(int type,
                   int concurrencyType,
                   int holdability)

DbQueryMode

public DbQueryMode(int type,
                   int concurrencyType,
                   int holdability,
                   boolean debug)
Method Detail

getType

public int getType()

setType

public DbQueryMode setType(int type)

typeForwardOnly

public DbQueryMode typeForwardOnly()

typeScrollSensitive

public DbQueryMode typeScrollSensitive()

typeScrollInsensitive

public DbQueryMode typeScrollInsensitive()

getConcurrencyType

public int getConcurrencyType()

setConcurrencyType

public DbQueryMode setConcurrencyType(int concurrencyType)

concurReadOnly

public DbQueryMode concurReadOnly()

concurUpdatable

public DbQueryMode concurUpdatable()

getHoldability

public int getHoldability()

setHoldability

public DbQueryMode setHoldability(int holdability)

holdCursorsOverCommit

public DbQueryMode holdCursorsOverCommit()

closeCursorsAtCommit

public DbQueryMode closeCursorsAtCommit()

isDebug

public boolean isDebug()

setDebug

public DbQueryMode setDebug(boolean debug)

debug

public DbQueryMode debug()

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright ©2008 Jodd Team