Mercurial > dive4elements > gnv-client
changeset 143:122fdc9da5f0
Unified changelog, removed some needless imports. xmllint-ed pom.xml
geo-backend/trunk@196 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 06 Oct 2009 14:45:50 +0000 |
parents | 25be806da62f |
children | fcfa9d2de572 |
files | geo-backend/ChangeLog geo-backend/Changelog geo-backend/pom.xml geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java |
diffstat | 5 files changed, 165 insertions(+), 171 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/geo-backend/ChangeLog Tue Oct 06 14:45:50 2009 +0000 @@ -0,0 +1,155 @@ +2009-10-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * Changelog -> ChangeLog: Renamed to make eclipse happy. Unified changelog style. + + * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java: + Removed needless imports. + + * pom.xml: xmllint-ed + +2009-09-29 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java (DATE_PATTERN) Edited: + Make the Constants assessible for other Parts of the Project to reduce the TouchPoints for + Dateformats. + +2009-09-24 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/geobackend/base/ResultDescriptor.java Edited, + src/main/java/de/intevation/gnv/geobackend/base/Result.java Edited, + src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java Edited, + src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java Edited: + Make Classes Serializable for Storing in ArtifactDatabase + +2009-09-21 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java: + Added formatted Date handling in getString Method + +2009-09-21 Tim Englich <tim.englich@intevation.de> + + * src/test/ressources/QueryExecutorTestCase.properties Edited, + src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java Edited: + Some tests for Spatialqueries added + + * src/main/java/de/intevation/gnv/geobackend/base/query/DefaultQueryExceutor.java Edited: + Put the final Querystring into a Logmessage + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * target/**: Removed. + +2009-09-09 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java (getDate): + Instance Check for DateValues + + * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java (next): + Logging removed because the performance slowdown fetching many ResultSets + +2009-09-04 Tim Englich <tim.englich@intevation.de> + + * pom.xml: Edited GroupID changed + +2009-09-04 Tim Englich <tim.englich@intevation.de> + + * pom.xml: Edited + Buildplugins for Maven-Compiler and Maven-Eclipse Plugin integrated. + +2009-09-04 Tim Englich <tim.englich@intevation.de> + + * src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorBase.java (setFilterValues): Edited + Fixed Bug using replaceFirst an ?. You hav to put a ? in []. + + * src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java (testQueryExecutor): Edited + Further TestCase using a where clause implemented. More asserts testimg the number of Results integrated + + * src/test/ressources/QueryExecutorTestCase.properties: Edited + Statement Fetching only one Mesh integrated. + +2009-09-04 Tim Englich <tim.englich@intevation.de> + + * src/test/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnectionPoolTestCase.java: Edited + Changed Tabs against 4 Spaces. Commennts written + + * src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPoolFactory.java: Edited, + * src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPool.java: Edited + + Changed Tabs against 4 Spaces + + * src/test/ressources/QueryExecutorTestCase.properties: + Create a Testpropertiesfile with Samplestatements for the Testcase QueryExecutorTestCase. + + * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java: Edited: + The Method getResultSetMetaData modified to return an Instance of the ArcSDEResultSetMetaData-Class + + * src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEResultSetMetaData.java: + Implementation of the java.sql.ResultSetMetaData Interface for wrapping the Metainformations of an + ArcSDE-ResultSet + + * src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java: Testfall + Testcase for the Inteface QueryExecuor implemented. This Testcats should test the fundamental Functions of the + Impelmentation of this interface. currently the DefaulQueryExecutor is used to fetch Resukts from the MEDIAN.MESH + Table from BSH. + + * src/main/java/de/intevation/gnv/geobackend/base/query/container/exception/QueryContainerException.java, + src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainerFactory.java, + src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java, + src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java: + Container for central providing of configured Datastorequeries. + An instance can be instantiated using the factory. + + * src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorFactory.java, + src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorBase.java, + src/main/java/de/intevation/gnv/geobackend/base/query/DefaultQueryExceutor.java, + src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutor.java: + Implementation of an Infrastructure for querying Datastores. + An Instance can be instantiated using the factory. + + * src/main/java/de/intevation/gnv/geobackend/base/query/exception/QueryException.java, + src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java, + src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java, + src/main/java/de/intevation/gnv/geobackend/base/ResultDescriptor.java, + src/main/java/de/intevation/gnv/geobackend/base/Result.java: + Implementation of an Containerinfrastrucure for storing of ResultSets of Querys + +2009-09-02 Tim Englich <tim.englich@intevaion.de> + + * Changelog: Changelog adjusted + +2009-09-02 Tim Englich <tim.englich@intevaion.de> + + * src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPool.java, + src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPoolFactory.java, + src/main/java/de/intevation/gnv/geobackend/base/connectionpool/exception/ConnectionException.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/ConnectionException.java, + src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEConnectionPool.java, + src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEPoolableObjectFactory.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java: + New classes based on java.sql.* interface structure. + + * src/test/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnectionPoolTestCase.java, + src/test/ressources/ArcSDEConnectionPoolTestCase.properties: + Test class for new data access layer. + + * src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnectionPool.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEConnection.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEDatasource.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/ConnectionException.java: + Removed obsolete access classes. + + * src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEUtils.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/ResultSet.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java, + src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java: + Modified: adjusted classes to fit the new infrastructure. + +2009-09-02 Tim Englich <tim.englich@intevaion.de> + + Java project generated, Import of SDE-Datasources + Revision 101 from Repository of principal de/intevation/gnv/geobackend/sde/datasources/**/* + + * README, Changelog, Changes, NEWS, TODO: New. Initial setup + * pom.xml: Add dependencies
--- a/geo-backend/Changelog Tue Sep 29 09:46:08 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,159 +0,0 @@ -2009-09-29 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java (DATE_PATTERN) Edited: - Make the Constants assessible for other Parts of the Project to reduce the TouchPoints for - Dateformats. - -2009-09-24 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/geobackend/base/ResultDescriptor.java Edited, - src/main/java/de/intevation/gnv/geobackend/base/Result.java Edited, - src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java Edited, - src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java Edited: - Make Classes Serializable for Storing in ArtifactDatabase - -2009-09-21 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java: - Added formatted Date handling in getString Method - -2009-09-21 Tim Englich <tim.englich@intevation.de> - - * src/test/ressources/QueryExecutorTestCase.properties Edited, - src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java Edited: - Some tests for Spatialqueries added - * src/main/java/de/intevation/gnv/geobackend/base/query/DefaultQueryExceutor.java Edited: - Put the final Querystring into a Logmessage - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * target/**: Removed. - -2009-09-09 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java (getDate): - . Intance Check for DateValues - * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java (next): - Logging removed because the performance slowdown fetching many ResultSets - -2009-09-04 Tim Englich <tim.englich@intevation.de> - - * pom.xml: Edited GroupID changed - -2009-09-04 Tim Englich <tim.englich@intevation.de> - - * pom.xml: Edited - Buildplugins for Maven-Compiler and Maven-Eclipse Plugin integrated. - -2009-09-04 Tim Englich <tim.englich@intevation.de> - - * src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorBase.java (setFilterValues): Edited - Fixed Bug using replaceFirst an ?. You hav to put a ? in []. - * src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java (testQueryExecutor): Edited - Further TestCase using a where clause implemented. More asserts testimg the number of Results integrated - * src/test/ressources/QueryExecutorTestCase.properties: Edited - Statement Fetching only one Mesh integrated. - -2009-09-04 Tim Englich <tim.englich@intevation.de> - - * src/test/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnectionPoolTestCase.java: Edited - Changed Tabs against 4 Spaces. Commennts written - - * src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPoolFactory.java: Edited, - src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPool.java: Edited - - Changed Tabs against 4 Spaces - - * src/test/ressources/QueryExecutorTestCase.properties: - Create a Testpropertiesfile with Samplestatements for the Testcase QueryExecutorTestCase. - - * src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java: Edited: - The Method getResultSetMetaData modified to return an Instance of the ArcSDEResultSetMetaData-Class - - * src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEResultSetMetaData.java: - Implementation of the java.sql.ResultSetMetaData Interface for wrapping the Metainformations of an - ArcSDE-ResultSet - - * src/test/java/de/intevation/gnv/geobackend/base/query/QueryExecutorTestCase.java: Testfall - Testcase for the Inteface QueryExecuor implemented. This Testcats should test the fundamental Functions of the - Impelmentation of this interface. currently the DefaulQueryExecutor is used to fetch Resukts from the MEDIAN.MESH - Table from BSH. - - * src/main/java/de/intevation/gnv/geobackend/base/query/container/exception/QueryContainerException.java, - src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainerFactory.java, - src/main/java/de/intevation/gnv/geobackend/base/query/container/DefaultQueryContainer.java: - src/main/java/de/intevation/gnv/geobackend/base/query/container/QueryContainer.java, - Container for central providing of configured Datastorequeries. - An instance can be instantiated using the factory. - - * src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorFactory.java, - src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutorBase.java, - src/main/java/de/intevation/gnv/geobackend/base/query/DefaultQueryExceutor.java, - src/main/java/de/intevation/gnv/geobackend/base/query/QueryExecutor.java: - Implementation of an Infrastructure for querying Datastores. - An Instance can be instantiated using the factory. - - * src/main/java/de/intevation/gnv/geobackend/base/query/exception/QueryException.java, - src/main/java/de/intevation/gnv/geobackend/base/DefaultResult.java, - src/main/java/de/intevation/gnv/geobackend/base/DefaultResultDescriptor.java, - src/main/java/de/intevation/gnv/geobackend/base/ResultDescriptor.java, - src/main/java/de/intevation/gnv/geobackend/base/Result.java: - Implementation of an Containerinfrastrucure for storing of ResultSets of Querys - -2009-09-02 Tim Englich <tim.englich@intevaion.de> - - * geo-backend/trunk/Changelog - Changelog angepasst - -2009-09-02 Tim Englich <tim.englich@intevaion.de> - * Added: -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPool.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/base/connectionpool/ConnectionPoolFactory.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/base/connectionpool/exception/ -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/base/connectionpool/exception/ConnectionException.java -� � � - copied, changed from r5, /geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/ConnectionException.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEConnectionPool.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/connectionpool/ArcSDEPoolableObjectFactory.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnection.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java -� � - Neue Zugriffsklassen Basierend auf der java.sql.* Interfacestruktur erstellt - - geo-backend/trunk/src/test/java/de/ -� �geo-backend/trunk/src/test/java/de/intevation/ -� �geo-backend/trunk/src/test/java/de/intevation/gnv/ -� �geo-backend/trunk/src/test/java/de/intevation/gnv/geobackend/ -� �geo-backend/trunk/src/test/java/de/intevation/gnv/geobackend/sde/ -� �geo-backend/trunk/src/test/java/de/intevation/gnv/geobackend/sde/datasources/ -� �geo-backend/trunk/src/test/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnectionPoolTestCase.java -� �geo-backend/trunk/src/test/ressources/ -� �geo-backend/trunk/src/test/ressources/ArcSDEConnectionPoolTestCase.properties - - Testklasse f�r die neue Datenzugriffsschicht implementiert - - - * Removed: -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEConnectionPool.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEConnection.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEDatasource.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/exception/ConnectionException.java - Obsolete Zugriffsklassen entfernt - - * Modified: -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEUtils.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ResultSet.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java -� �geo-backend/trunk/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEResultSet.java - Klassen f�r den Zugriff �ner die neue Interfacsstruktur angepasst. - - geo-backend/trunk/Changelog -� �geo-backend/trunk/pom.xml -� � - -2009-09-02 Tim Englich <tim.englich@intevaion.de> - - * README, Changelog, Changes, NEWS, TODO: New. Initial setup - * Java-Project generated - * Library Dependencies Added to pom.xml - * Import of SDE-Datasources Revision: 3101 from Repository of principal de/intevation/gnv/geobackend/sde/datasources/**/*
--- a/geo-backend/pom.xml Tue Sep 29 09:46:08 2009 +0000 +++ b/geo-backend/pom.xml Tue Oct 06 14:45:50 2009 +0000 @@ -1,5 +1,5 @@ -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> +<?xml version="1.0"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.intevation.bsh</groupId> <artifactId>geo-backend</artifactId> @@ -36,13 +36,13 @@ <groupId>com.esri.sde</groupId> <artifactId>jsde_sdk</artifactId> <version>9.2.5</version> - <scope>compile</scope> + <scope>compile</scope> </dependency> - <dependency> + <dependency> <groupId>com.esri.sde</groupId> <artifactId>jpe_sdk</artifactId> - <version>9.2.5</version> - <scope>compile</scope> + <version>9.2.5</version> + <scope>compile</scope> </dependency> <dependency> <groupId>com.ibm</groupId> @@ -56,9 +56,9 @@ <version>[1.2,)</version> </dependency> <dependency> - <groupId>commons-pool</groupId> - <artifactId>commons-pool</artifactId> - <version>1.5.2</version> - </dependency> + <groupId>commons-pool</groupId> + <artifactId>commons-pool</artifactId> + <version>1.5.2</version> + </dependency> </dependencies> </project>
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java Tue Sep 29 09:46:08 2009 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/ArcSDEStatement.java Tue Oct 06 14:45:50 2009 +0000 @@ -12,7 +12,6 @@ import org.apache.log4j.Logger; import com.esri.sde.sdk.client.SeColumnDefinition; -import com.esri.sde.sdk.client.SeConnection; import com.esri.sde.sdk.client.SeException; import com.esri.sde.sdk.client.SeQuery; import com.esri.sde.sdk.client.SeRow;
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java Tue Sep 29 09:46:08 2009 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/sde/datasources/SDEQuery.java Tue Oct 06 14:45:50 2009 +0000 @@ -36,7 +36,6 @@ import de.intevation.gnv.geobackend.base.connectionpool.ConnectionPool; import de.intevation.gnv.geobackend.base.connectionpool.exception.ConnectionException; import de.intevation.gnv.geobackend.sde.datasources.exception.TechnicalException; -import de.intevation.gnv.geobackend.util.DateUtils; /** * // todo: supply a general interface for Query-Objects (Query = read access to datasource implementation)