Inconsistency between JDBCDataStore.getPrimaryKey() and
SQLDialect.getSequenceForColumn
---------------------------------------------------------------------------------------
Key: GEOT-2501
URL: http://jira.codehaus.org/browse/GEOT-2501
Project: GeoTools
Issue Type: Bug
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 2.5.6
SQLDialect.getSequenceForColumn is allowed to throw a SQLException, but
JDBCDataStore.getPrimaryKey() does not guard against it, resulting in a failure
to compute the feature type.
Either SQLDialect.getSequenceForColumn() is disallowed throwing exceptions (and
if something goes wrong it will just return null) or
JDBCDataStore.getPrimaryKey() guards against a possible exception.
I guess I prefer the first, but it's just me.
--
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
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel