Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java @ 890:e9ca6be4dbd2
Modified some JavaDoc so that the Warnings that where caused by mistakes are removed.
geo-backend/trunk@916 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 13 Apr 2010 09:37:59 +0000 |
parents | b757def3ff55 |
children | ebeb56428409 |
comparison
equal
deleted
inserted
replaced
889:e5e30090c37c | 890:e9ca6be4dbd2 |
---|---|
1 package de.intevation.gnv.geobackend.sde.datasources; | 1 package de.intevation.gnv.geobackend.sde.datasources; |
2 | |
3 import com.esri.sde.sdk.client.SeConnection; | |
4 import com.esri.sde.sdk.client.SeException; | |
5 | |
6 import de.intevation.gnv.geobackend.base.connectionpool.exception.ConnectionException; | |
7 | |
8 import de.intevation.gnv.geobackend.sde.connectionpool.ArcSDEPoolableObjectFactory; | |
9 | 2 |
10 import java.sql.Array; | 3 import java.sql.Array; |
11 import java.sql.Blob; | 4 import java.sql.Blob; |
12 import java.sql.CallableStatement; | 5 import java.sql.CallableStatement; |
13 import java.sql.Clob; | 6 import java.sql.Clob; |
20 import java.sql.SQLWarning; | 13 import java.sql.SQLWarning; |
21 import java.sql.SQLXML; | 14 import java.sql.SQLXML; |
22 import java.sql.Savepoint; | 15 import java.sql.Savepoint; |
23 import java.sql.Statement; | 16 import java.sql.Statement; |
24 import java.sql.Struct; | 17 import java.sql.Struct; |
25 | |
26 import java.util.Map; | 18 import java.util.Map; |
27 import java.util.Properties; | 19 import java.util.Properties; |
28 | 20 |
29 import org.apache.log4j.Logger; | 21 import org.apache.log4j.Logger; |
22 | |
23 import com.esri.sde.sdk.client.SeConnection; | |
24 import com.esri.sde.sdk.client.SeException; | |
25 | |
26 import de.intevation.gnv.geobackend.base.connectionpool.exception.ConnectionException; | |
27 import de.intevation.gnv.geobackend.sde.connectionpool.ArcSDEPoolableObjectFactory; | |
30 | 28 |
31 /** | 29 /** |
32 * Wrapperclass between an @see java.sql.Connection and an | 30 * Wrapperclass between an @see java.sql.Connection and an |
33 * @see com.esri.sde.sdk.client.SeConnection | 31 * @see com.esri.sde.sdk.client.SeConnection |
34 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 32 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
98 throw new ConnectionException(e); | 96 throw new ConnectionException(e); |
99 } | 97 } |
100 } | 98 } |
101 | 99 |
102 /** | 100 /** |
103 * TODO: DOCUMENT ME. | 101 * Validates if the Connection is active |
104 * @return | 102 * @return true if the Connection is active. False if not. |
105 */ | 103 */ |
106 public boolean isActive() { | 104 public boolean isActive() { |
107 long current = System.currentTimeMillis(); | 105 long current = System.currentTimeMillis(); |
108 long last; | 106 long last; |
109 synchronized (this) { | 107 synchronized (this) { |