|
@@ -46,7 +46,7 @@ public class DBUtil {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
public static DataSource initDataSource(final String dataSourceName) {
|
|
public static DataSource initDataSource(final String dataSourceName) {
|
|
- Class<?> c;
|
|
|
|
|
|
+ Class<?> c = null;
|
|
try {
|
|
try {
|
|
c = Class.forName("com.mchange.v2.c3p0.ComboPooledDataSource");
|
|
c = Class.forName("com.mchange.v2.c3p0.ComboPooledDataSource");
|
|
} catch (ClassNotFoundException e) {
|
|
} catch (ClassNotFoundException e) {
|