GeoTools
  1. GeoTools
  2. GEOT-744

OracleDataStore isNillable and others, not set

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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

        Activity

        Hide
        Andrea Aime added a comment -
        JDBC-NG stores are not affected by this problem
        Show
        Andrea Aime added a comment - JDBC-NG stores are not affected by this problem
        Hide
        Andrea Aime added a comment -
        Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update
        Show
        Andrea Aime added a comment - Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Paolo Rizzi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: