Thank you Andrea for your help.... I tried to use JDBCDataStore by means of JDBCDataStoreFactory.... in this factory there are only method to create a JDBCDataStore trough map parameters configuration.... no create method use a javax.sql.DataSource.
I tried to get an instance of JDBCDataStore without the factory... but in this way I cannot to set the dbtype (I think)....... Thank you andrea.... 2011/10/27 Andrea Aime <andrea.a...@geo-solutions.it>: > On Thu, Oct 27, 2011 at 4:24 PM, Francesco D'Amore > <francesco.dam...@gmail.com> wrote: >> >> Hi All.... >> >> I'm very newbie using GeoTolls and I hope that my request would be not >> so trivial. >> >> I have the same requirements of john grange-3, writing years ago in this >> mail: >> >> >> http://osgeo-org.1803224.n2.nabble.com/Create-a-MySq-Oracle-lDataStore-from-a-javax-sql-DataSource-td1936764.html >> >> At the end, I would like to use DataSource form c3p0 connection pool, >> configurated by means of Spring. > > The JDBC data stores accept a DataSource in alternative to the > name/password/db and > so on. > >> >> There is some way to work around a parameters configuration????? I >> thing the javax.sql.DataSource abstraction is very useful in web >> application. > > The same stores also have a factory accepting a JNDI source, too > Cheers > Andrea > -- > ------------------------------------------------------- > Ing. Andrea Aime > GeoSolutions S.A.S. > Tech lead > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://www.linkedin.com/in/andreaaime > http://twitter.com/geowolf > > ------------------------------------------------------- > -- Ing. Francesco D'Amore blog: www.marinajonica.org linkedin: http://www.linkedin.com/in/francescodamore Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico (IIA) Ph. D. Student at University of Calabria - DEIS ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users