Jody Garnett ha scritto: > On 11/08/2009, at 11:54 PM, Justin Deoliveira wrote: > >> Should be no problem to make the public method. Can you open a jira >> for this. > > http://jira.codehaus.org/browse/GEOT-2655 > >>> However I am not sure how the BasicDataSource / DBCPDataSource is >>> managed. I think for my purpose I could work with just the >>> BasicDataSource? >> Not sure exactly what you mean. Why would it matter. Can you not >> just go through the javax.sql.DataSource interface? > > I can. I was not sure what DBCPDataSource was up to; after looking at > it I see it is a simple wrapper.
It is, the only reason for it in life is to add a public "close()" method. DataSource itself is not closeable, the JDBCDataStores do check for closeable ones. Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ 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
