Issue Type: Bug Bug
Affects Versions: 8.0
Assignee: Unassigned
Components: jdbc
Created: 13/Aug/12 10:42 AM
Description:

The join capability uses an offset to find the matching value of an attribute. This offset is set only once according to the expected column numbers of the primary join table. If you query more than two tables with several joins, all requests for the values of the 3rd, 4th, ... feature will start on the same index (the initial offset). The code for this is located in org.geotools.jdbc.JDBCJoiningFeatureReader:72. The issue can be resolved by incrementing the offset by the number of the expected attributes and primary columns of each sub feature.

Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: c:\Program Files\apache-maven-3.0.4\bin\..
Java version: 1.6.0_29, vendor: Sun Microsystems Inc.
Java home: C:\Program Files\Java\jdk1.6.0_29\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Project: GeoTools
Priority: Major Major
Reporter: Robin Pradel
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to