JDBCDataStoreApiTest>>testGetFeaturesWriterAdd procudes an SQL Exception (DB2)
------------------------------------------------------------------------------

                 Key: GEOT-2130
                 URL: http://jira.codehaus.org/browse/GEOT-2130
             Project: GeoTools
          Issue Type: Bug
          Components: data jdbc-ng
    Affects Versions: 2.5.2, 2.6-M0
            Reporter: Christian Mueller


In method 
JDBCDataStoreApiTest>>testGetFeaturesWriterAdd

writer.write() 

produces 

java.lang.RuntimeException: com.ibm.db2.jcc.a.SqlException: 
[jcc][t4][10120][10898][3.52.95] Invalid operation: result set is closed. 
ERRORCODE=-4470, SQLSTATE=null


The reason for this is in the method

JDBCFeatureReader>>mapResultSetIndex(int index) 

The line 
ResultSetMetaData md = rs.getMetaData();

queries a closed result set. 

I am wondering if db2 is the only db system which complains about this.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to