DataStore.getEnvolope based on typeName
---------------------------------------

                 Key: GEOT-910
                 URL: http://jira.codehaus.org/browse/GEOT-910
             Project: GeoTools
          Issue Type: Bug
          Components: data oraclespatial
    Affects Versions: 2.2-RC3
            Reporter: Jody Garnett
         Assigned To: Jody Garnett
             Fix For: 2.2, 2.3


>From email - Diego Guidi wrote:
n geotools v.2.2.3.RC3, in the method
org.geotools.data.oracle.OracleDataStore#getEnvelope(String typeName)
we have a line like:

st.execute("SELECT srid,diminfo FROM USER_SDO_GEOM_METADATA where
TABLE_NAME = 'ORA_TEST_LINES'");

that of course don't work because 'ORA_TEST_LINES' is a inlined table
and not a parameter.
Maybe modifiyng the line like:

st.execute("SELECT srid,diminfo FROM USER_SDO_GEOM_METADATA where
TABLE_NAME = '" + typeName + "''");

-- 
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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to