Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5690

Give users a way to run an ij script programmatically so they can filter errors.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.9.1.0
    • None
    • Tools
    • None

    Description

      Sometimes users need a way to run an ij script programmatically and handle the errors. It would be nice if they could use ij's StatementFinder to parse a semi-colon delimited file of sql statements, throwing away comments. StatementFinder itself can't be used because it is not part of the public api and it has some small dependencies on other Derby code. I will attach a standalone class which applications can use.

      Attachments

        1. StatementReader.java
          0.5 kB
          Richard N. Hillegas
        2. SQLRunner.java
          4 kB
          Richard N. Hillegas

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rhillegas Richard N. Hillegas

            Dates

              Created:
              Updated:

              Slack

                Issue deployment