GeoTools
  1. GeoTools
  2. GEOT-2333

Implement removeSchema in JDBCDataStore

    Details

    • Type: New Feature New Feature
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.9, 11-beta
    • Component/s: jdbc
    • Labels:
      None

      Description

      For data management oriented applications it would be real nice to be able and drop schemas, not only to create and alter them. Something like:

      dataStore.dropSchema("typeName");

      1. GEOT-2333.patch
        13 kB
        Justin Deoliveira
      2. oracle.patch
        1 kB
        Andrea Aime

        Activity

        Hide
        Milton Jonathan added a comment - - edited
        Hello there. Are there any plans of changing the DataStore interface to include a "removeSchema" (or "dropSchema") method?
        Show
        Milton Jonathan added a comment - - edited Hello there. Are there any plans of changing the DataStore interface to include a "removeSchema" (or "dropSchema") method?
        Hide
        Andrea Aime added a comment -
        I don't know of any, but we have an accepted proposal in that direction, just lacks implementatoin due to lack of funding/direct need (the proposal was made with funding backing it, then the funding vanished)
        Show
        Andrea Aime added a comment - I don't know of any, but we have an accepted proposal in that direction, just lacks implementatoin due to lack of funding/direct need (the proposal was made with funding backing it, then the funding vanished)
        Hide
        Daniele Romagnoli added a comment -
        I have "resurrect" the patches ^_^ and I'm working on integrating them on the code.
        Show
        Daniele Romagnoli added a comment - I have "resurrect" the patches ^_^ and I'm working on integrating them on the code.
        Hide
        Daniele Romagnoli added a comment -
        https://jira.codehaus.org/browse/GEOT-4613 has been added to take care of the specific implementation for shapefile datastore

        Show
        Daniele Romagnoli added a comment - https://jira.codehaus.org/browse/GEOT-4613 has been added to take care of the specific implementation for shapefile datastore
        Hide
        Jody Garnett added a comment -
        Also need to update docs.

        I note that as an API addition to the interface we cannot back port, but the JDBCDataStore method implementation could be back ported without an @override
        Show
        Jody Garnett added a comment - Also need to update docs. I note that as an API addition to the interface we cannot back port, but the JDBCDataStore method implementation could be back ported without an @override

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Andrea Aime
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: