SQLDialect.getMapping needs to provide a sql connection as well
---------------------------------------------------------------

                 Key: GEOT-1976
                 URL: http://jira.codehaus.org/browse/GEOT-1976
             Project: GeoTools
          Issue Type: Improvement
          Components: data h2
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.5.0, 2.6-M0


It may happen that the data type of a column is generic (GEOMETRY) and the 
actual geometry subtype, if any, is declared in some metadata table.
This in particular happens for Oracle, and I believe for postgis too. It means 
the dialect needs to be able and perform another query.
It could be done by grabbing another connection, but in certain production 
setups they come at a price (think running a server with max 7 connections) so 
it's better to pass the connection along as a parameter.

-- 
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
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to