DataSource access
-----------------

                 Key: GEOT-2655
                 URL: http://jira.codehaus.org/browse/GEOT-2655
             Project: GeoTools
          Issue Type: New Feature
          Components: data jdbc-ng
    Affects Versions: 2.6-M2
            Reporter: Jody Garnett


In updating udig to use jdbc-ng I have a bunch of code that depended on the 
previous DB2Connection, OracleConnection isolation. This code was used to 
obtain an SQL Connection in order to query for database details (such as  a 
list of schemas) in order to assist the user in constructing connection 
parameters for the datastore.

>From email:
{noformat}
- public static BasicDataSource OracleNGDataStoreFactory.createDataSource( 
params )
- I would not need the dialect as it is just used to control if prepared 
statements are pooled
- the Existing createDataSoruce(params,dialect) method can remain protected; 
and make use of the above BasicDataSource
{noformat}

Attached is a patch to get things moving ...

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

        

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to