Great. The first thing will be to get your hands on the geotools source code:
http://docs.codehaus.org/display/GEOT/2+Building Then if you look in the modules/plugin/jdbc/jdbc-h2 module you will see a class named H2DataStoreFactory. Look for the method "createDataSource(Map, SQLDialect)". That will be the method that will need to be changed. The way I think this might work best if if the data store factory made some more parameters available (see the top of the class) that allowed the client to configure the datastore in different ways. Just a thought. Good luck :) -Justin On 1/26/10 1:11 PM, Matias Massigoge wrote: > It would be great to help you, just tell me how. > Thanks! > > Matías > > On Tue, Jan 26, 2010 at 2:57 PM, Justin Deoliveira<[email protected]> > wrote: >> Hi Matías, >> >> Actually at the moment there is not the ability to do so. There is >> currently an open jira for this: >> >> http://jira.codehaus.org/browse/GEOT-2215 >> >> If you are a java coder a patch would be great. The section of the code >> that needs to be patched is well contained. I could point you in the >> right direction, just let me know. >> >> Other then that hopefully I will get to it eventually :) >> >> -Justin >> >> On 1/26/10 12:50 PM, mmassigoge wrote: >>> >>> Justin, >>> >>> I'm working with jdbc-H2, I will try the spatial index. >>> >>> Meanwhile I'm trying the Geotools connection to H2 and it seems to connect >>> in embedded way, It would be useful to do this in TCP way to avoid locking >>> the entire database. What can I do? I'm missing something? >>> >>> Thanks! >>> >>> Matías >> >> >> -- >> Justin Deoliveira >> OpenGeo - http://opengeo.org >> Enterprise support for open source geospatial. >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away.. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> Geotools-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > > > -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
