In 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 + "''");

works.

In the test class OrcaleDataStoreTest the test about envelope is
removed from 2.2.RC3, but it was present in 2.1.1...
any suggestions?

-- 
Diego Guidi
http://lacorrente.blogspot.com è il mio blog personale...
http://blogs.ugidotnet.org/GisSharpBlog è il mio blog tecnico...
http://nts.sourceforge.net è la mia NetTopologySuite...

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