Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.0, 2.2.M1
-
Fix Version/s: 2.7-M0
-
Component/s: jdbc-oracle plugin
-
Labels:None
Description
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