Issue Details (XML | Word | Printable)

Key: GEOT-744
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Andrea Aime
Reporter: Paolo Rizzi
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GeoTools

OracleDataStore isNillable and others, not set

Created: 27/Oct/05 09:51 AM   Updated: 06/Jul/07 12:46 PM
Component/s: data oraclespatial
Affects Version/s: 2.1.0, 2.2.M1
Fix Version/s: None


 Description  « Hide
A call to:
OracleDataStore.getSchema()
ends up calling:
AttributeType JDBCDataStore1.buildAttributeType(ResultSet rs)

that doesn't take into account all the information available inside the provided ResultSet for an Oracle table.
For example the NILLABLE or IS_NILLABLE column is not used and so all the AttributeType will have
isNillable()==false value. Other information are ignored too, like field length.
Also the DefaultAttributeType implementation strangely sets isNillable=true, and minOccurs=1...

This is the same bug as for PostgisDataStore:
http://jira.codehaus.org/browse/GEOT-486



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.