JDBC1DataStore doesn't use database schema names for underlying tables.
-----------------------------------------------------------------------
Key: GEOT-896
URL: http://jira.codehaus.org/browse/GEOT-896
Project: GeoTools
Issue Type: Bug
Components: core main
Affects Versions: 2.2-RC3
Environment: WinXP with Postgres 8.1 and PostGIS.
Reporter: Peter Fay
Assigned To: James Macgill
Priority: Critical
It appears JDBC1DataStore assumes tables are in default database schemas (e.g.
public), as it supplies "null" as schema name to FIDMapperFactory and
underlying JDBC APIs.
Found in method buildFIDMapper():
{
conn = getConnection(Transaction.AUTO_COMMIT);
FIDMapper mapper = factory.getMapper(null, null,
typeName, conn);
return mapper;
}
This seems to fail when accessing a tablename ("typeName") in a schema other
than "public" in PostGIS.
--
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
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel