public class DbConstant extends Object
Modifier and Type | Field and Description |
---|---|
static DbAdmin |
admin
The current DbAdmin object
|
static int |
DELAYMAXCONNECTION
Delay in second to try to connect
|
static long |
ILLEGALVALUE
Illegal value as SpecialId of transfer (any value above is valid)
|
static int |
MAXCONNECTION
Number of Database max connection (if pooled)
|
static DbAdmin |
noCommitAdmin
The no-commit DbAdmin object
|
static int |
VALIDTESTDURATION
How long to wait in second for a validation of connection (isValid(time))
|
Constructor and Description |
---|
DbConstant() |
Modifier and Type | Method and Description |
---|---|
static void |
error(SQLException ex)
Print the error from SQLException
|
static boolean |
isDbUsed() |
public static final long ILLEGALVALUE
public static DbAdmin admin
public static DbAdmin noCommitAdmin
public static final int VALIDTESTDURATION
public static final int MAXCONNECTION
public static final int DELAYMAXCONNECTION
public static void error(SQLException ex)
ex
- public static boolean isDbUsed()
Copyright © 2009–2022 Waarp. All rights reserved.