GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Using own Feature - constant for "delete with returning" · Issue #1597 · JSQLParser/JSqlParser

Using own Feature - constant for "delete with returning" #1597

New issue
Copy link
New issue
Copy link
Closed
Closed
Using own Feature - constant for "delete with returning"#1597
Copy link

Description

@gitmotte
gitmotte
opened on Jul 23, 2022
Issue body actions

#1527 introduced DELETE with RETURNING and used Feature.insertReturningExpressionList
within the validation net.sf.jsqlparser.util.validation.validator.DeleteValidator - the Feature.insertReturningExpressionList is part of the validation group FeaturesAllowed.INSERT and therefore only allowed for INSERT statements.

The bugfix fixes the problem with a new feature constant Feature.deleteReturningExpressionList which is part of the validation group FeaturesAllowed.DELETE.

Activity

  1. gitmotte
    added 2 commits that reference this issue on Jul 23, 2022

    Using own Feature - constant for "delete with returning" JSQLParser#1597

    9cdff4f

    Using own Feature - constant for "delete with returning" JSQLParser#1597

    7933899
  2. manticore-projects commented on Jul 23, 2022

    @manticore-projects
    manticore-projects
    on Jul 23, 2022
    Contributor
    More actions

    Thank you for helping me out! I honestly have no idea how this validation framework works and tried brute force.

  3. gitmotte commented on Jul 23, 2022

    @gitmotte
    gitmotte
    on Jul 23, 2022
    ContributorAuthor
    More actions

    Are the correlations clearer for you now, when you look at the changes?

  4. gitmotte commented on Jul 23, 2022

    @gitmotte
    gitmotte
    on Jul 23, 2022
    ContributorAuthor
    More actions

    I've added a "Further development" section to the wiki of my fork - could you please merge it to the original wiki of JSQLParser @wumpz ?

    https://github.com/gitmotte/JSqlParser/wiki/Examples-of-SQL-Validation#further-development

    (don't know how to add merge requests for wiki-pages)

  5. wumpz
    added a commit that references this issue on Jul 25, 2022

    Using own Feature - constant for "delete with returning" #1597 (#1598)

    d321848
  6. wumpz commented on Jul 26, 2022

    @wumpz
    wumpz
    on Jul 26, 2022
    Member
    More actions

    merged it :) manually

    Reacted by gitmotte
    Reacted by gitmotte
  7. wumpz
    closed this as completedon Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.