Revision 4244
Added by ben leinfelder over 16 years ago
src/edu/ucsb/nceas/metacat/dataquery/DataQuery.java | ||
---|---|---|
66 | 66 |
} |
67 | 67 |
|
68 | 68 |
private void init() { |
69 |
connectionPool = new PostgresDatabaseConnectionPool();
|
|
69 |
connectionPool = DatabaseConnectionPoolFactory.getDatabaseConnectionPoolInterface();
|
|
70 | 70 |
dataManager = |
71 | 71 |
DataManager.getInstance(connectionPool, connectionPool.getDBAdapterName()); |
72 | 72 |
} |
Also available in: Unified diff
use factory method for creating database connection pool