org.ifeth.sehr.lib
Interface DAOJdbcInterface

All Known Implementing Classes:
DAOJdbc

public interface DAOJdbcInterface

Constants used by DAOJdbc.

connection handling codes

   0 = can close
   1 = don't close/not allowed
   2 = commit required (manupulated records)
       (if using autocommit this code has no effect)
 
connection status codes
      -1 = SQL Exception(broken?)
       0 = ok
       1 = closed
       2 = none found for id (already closed/pool out of sync?)
 

Author:
hansjhaase

Field Summary
static int CON_CANCLOSE
           
static int CON_CLOSEDENIED
           
static int CON_COMMITREQUIRED
           
static int STS_ACTIVE
           
static int STS_CLOSED
           
static int STS_NOTFOUND
          flag lost connection (present in pool but not physically
static int STS_SQLERROR
           
 

Field Detail

CON_CANCLOSE

public static final int CON_CANCLOSE
See Also:
Constant Field Values

CON_CLOSEDENIED

public static final int CON_CLOSEDENIED
See Also:
Constant Field Values

CON_COMMITREQUIRED

public static final int CON_COMMITREQUIRED
See Also:
Constant Field Values

STS_SQLERROR

public static final int STS_SQLERROR
See Also:
Constant Field Values

STS_ACTIVE

public static final int STS_ACTIVE
See Also:
Constant Field Values

STS_CLOSED

public static final int STS_CLOSED
See Also:
Constant Field Values

STS_NOTFOUND

public static final int STS_NOTFOUND
flag lost connection (present in pool but not physically

See Also:
Constant Field Values