Revision 1066 trunk/org.gvsig.postgresql/org.gvsig.postgresql.provider/src/main/java/org/gvsig/postgresql/dal/PostgreSQLHelper.java
PostgreSQLHelper.java | ||
---|---|---|
20 | 20 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCConnection; |
21 | 21 |
import org.gvsig.fmap.dal.store.jdbc2.JDBCUtils; |
22 | 22 |
import org.gvsig.fmap.dal.store.jdbc2.OperationsFactory; |
23 |
import org.gvsig.fmap.dal.store.jdbc2.spi.AbstractConnectionProvider; |
|
23 | 24 |
import org.gvsig.fmap.dal.store.jdbc2.spi.ConnectionProvider; |
24 | 25 |
import org.gvsig.fmap.dal.store.jdbc2.spi.JDBCConnectionBase; |
25 | 26 |
import org.gvsig.fmap.dal.store.jdbc2.spi.JDBCHelperBase; |
... | ... | |
64 | 65 |
return connectionURL; |
65 | 66 |
} |
66 | 67 |
|
67 |
private static class PostgreSQLConnectionProvider implements Disposable, ConnectionProvider { |
|
68 |
private static class PostgreSQLConnectionProvider extends AbstractConnectionProvider implements Disposable, ConnectionProvider {
|
|
68 | 69 |
|
69 | 70 |
private static boolean needRegisterDriver = true; |
70 | 71 |
|
... | ... | |
219 | 220 |
this.connectionParameters = null; |
220 | 221 |
} |
221 | 222 |
|
223 |
@Override |
|
222 | 224 |
public boolean isDisposed() { |
223 | 225 |
return this.dataSource == null; |
224 | 226 |
} |
Also available in: Unified diff