OracleDataStore isNillable and others, not set
----------------------------------------------
Key: GEOT-744
URL: http://jira.codehaus.org/browse/GEOT-744
Project: GeoTools
Type: Bug
Components: oraclespatial
Versions: 2.1.0, 2.2.M1
Reporter: Paolo Rizzi
Assigned to: Sean Geoghegan
Fix For: 2.2.M2, 2.1.1
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
--
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
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel