Using DataStoreFinder with JNDI DataSource
------------------------------------------
Key: GEOT-1774
URL: http://jira.codehaus.org/browse/GEOT-1774
Project: GeoTools
Issue Type: Bug
Components: data db2
Affects Versions: 2.4.2
Reporter: Christian Mueller
Finding a DB2 datastore using a jndi DataSource as desribed here
http://docs.codehaus.org/display/GEOTDOC/02+JDBC+DataStore+Example
seems not to be implemented. (By the way, the sample has a typo, the key must
be "dbtype" and not "dbType").
The process terminates since no hostname ist specified. All connect params
(hostname, port, db, schema,..) are specified in the Datasource description,
missing info has to be queried from the datasource object or from the db. (e.g
the schema name with "select current schema from ibmsys.dummy1").
A workaround at the moment is to use the Db2DataSore constructor directly.
--
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 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel