Lines 89-96
Link Here
|
89 |
private static int unquotedCaseRule = RULE_UNDEFINED; |
89 |
private static int unquotedCaseRule = RULE_UNDEFINED; |
90 |
private static int quotedCaseRule = RULE_UNDEFINED; |
90 |
private static int quotedCaseRule = RULE_UNDEFINED; |
91 |
|
91 |
|
92 |
private static JDBCDriver jdbcDriver; |
92 |
private JDBCDriver jdbcDriver; |
93 |
private static DatabaseConnection dbConnection; |
93 |
private DatabaseConnection dbConnection; |
94 |
|
94 |
|
95 |
protected Connection conn; |
95 |
protected Connection conn; |
96 |
|
96 |
|
Lines 98-104
Link Here
|
98 |
super(name); |
98 |
super(name); |
99 |
} |
99 |
} |
100 |
|
100 |
|
101 |
protected static JDBCDriver getJDBCDriver() throws Exception{ |
101 |
protected JDBCDriver getJDBCDriver() throws Exception{ |
102 |
if (jdbcDriver == null) { |
102 |
if (jdbcDriver == null) { |
103 |
jdbcDriver = JDBCDriver.create("derbydriver", "derbydriver", driverClass, new URL[] {driverJarUrl}); |
103 |
jdbcDriver = JDBCDriver.create("derbydriver", "derbydriver", driverClass, new URL[] {driverJarUrl}); |
104 |
assertNotNull(jdbcDriver); |
104 |
assertNotNull(jdbcDriver); |
Lines 113-119
Link Here
|
113 |
* Get the DatabaseConnection for the configured Java DB database. This |
113 |
* Get the DatabaseConnection for the configured Java DB database. This |
114 |
* method will create and register the connection the first time it is called |
114 |
* method will create and register the connection the first time it is called |
115 |
*/ |
115 |
*/ |
116 |
protected static DatabaseConnection getDatabaseConnection() throws Exception { |
116 |
protected DatabaseConnection getDatabaseConnection() throws Exception { |
117 |
if (dbConnection == null) { |
117 |
if (dbConnection == null) { |
118 |
JDBCDriver driver = getJDBCDriver(); |
118 |
JDBCDriver driver = getJDBCDriver(); |
119 |
|
119 |
|