From: <ji...@co...> - 2005-01-20 09:52:11
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/GEOT-377 Here is an overview of the issue: --------------------------------------------------------------------- Key: GEOT-377 Summary: PostgisDataStore.createSchema() not working Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: GeoTools Components: postgis Assignee: Reporter: Paolo Rizzi Created: Thu, 20 Jan 2005 5:03 AM Updated: Thu, 20 Jan 2005 5:03 AM Description: The createSchema() function of the PostgisDataStore doesn't work. First it checks to see if the table to be created is not already present, but then it asks the FIDMapper for the table's PKs. The org.geotools.data.jdbc.fidmapper.getPkColumnInfo() throws a SchemaNotFoundException that cause the createSchema() to fail. A solution would be to return a new ColumnInfo[0] instead, so that the buildNoPKMapper() function would be called. The problem is that FeatureType and AttributeType have no notion of PKs, so how can the buildNoPKMapper() function knows which fields are Pks??? I have a fixed version of PostgisDataStore (albeit it's not general enough to be used as is). Where and how can I submit it??? Bye Paolo Rizzi --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |