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 — support opengauss "on duplicate key update nothing" grammar by zhangconan · Pull Request #2303 · JSQLParser/JSqlParser

Conversation

@zhangconan

@zhangconan zhangconan commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

Add a new feature to support opengauss "on duplicate key update nothing" syntax. I have executed mvn clean package locally, and all code format checks and unit tests have passed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
zhangkenan
support opengauss "on duplicate key nothing" grammar
6429742
@zhangconan zhangconan mentioned this pull request Aug 28, 2025
[BUG] JSQLParser Version 5.3 : RDBMS opengauss: not support on duplicate key update nothing / where #2292
Closed
manticore-projects
manticore-projects requested changes Aug 28, 2025
View reviewed changes

@manticore-projects manticore-projects left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general, but please avoid Wildcard imports and import single Classes instead.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/main/java/net/sf/jsqlparser/statement/insert/Insert.java
import net.sf.jsqlparser.statement.ReturningClause;
import net.sf.jsqlparser.statement.Statement;
import net.sf.jsqlparser.statement.StatementVisitor;
import net.sf.jsqlparser.statement.select.PlainSelect;

@manticore-projects manticore-projects Aug 28, 2025

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid wildcard imports.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zhangconan zhangconan Aug 28, 2025

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. I will adjust the code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zhangconan zhangconan Aug 28, 2025

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have adjusted.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zhangconan zhangconan Aug 28, 2025

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':publishMavenJavaPublicationToOssrhRepository'.
Failed to publish publication 'mavenJava' to repository 'ossrh'
Could not PUT 'https://central.sonatype.com/repository/maven-snapshots/com/github/jsqlparser/jsqlparser/5.4-SNAPSHOT/jsqlparser-5.4-20250828.114640-16.jar'. Received status code 401 from server: Unauthorized

There seems to be a problem with the username or password of the Maven repository

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
zhangkenan added 2 commits August 28, 2025 17:34
zhangkenan
use import single classes instead of wildcard imports in Insert class.
b65b51c
zhangkenan
use import single classes instead of wildcard imports in Insert class.
48f905e
@zhangconan
zhangconan requested a review from manticore-projects August 28, 2025 09:43
zhangkenan
use './gradlew :spotlessApply' adjust code format.
7c66eb1
@zhangconan

zhangconan commented Aug 28, 2025

Copy link
Copy Markdown
Contributor Author

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':publishMavenJavaPublicationToOssrhRepository'.

Failed to publish publication 'mavenJava' to repository 'ossrh'
Could not PUT 'https://central.sonatype.com/repository/maven-snapshots/com/github/jsqlparser/jsqlparser/5.4-SNAPSHOT/jsqlparser-5.4-20250828.114640-16.jar'. Received status code 401 from server: Unauthorized

There seems to be a problem with the username or password of the Maven repository

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@manticore-projects
manticore-projects merged commit 468aefa into JSQLParser:master Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@manticore-projects manticore-projects Awaiting requested review from manticore-projects

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@zhangconan @manticore-projects
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.