Compare commits

...

10 Commits

Author SHA256 Message Date
f88f1cb679 Accepting request 1259311 from home:fstrba:mpt4
Trying to fix build

OBS-URL: https://build.opensuse.org/request/show/1259311
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=12
2025-03-27 14:36:09 +00:00
12252d218d OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=11 2025-01-16 09:02:08 +00:00
2c8ae864f1 Accepting request 1238181 from home:urbic:branches:Java:packages
- Update to v5.1
  * Changes and new Features
    + Avoid private tokens to be white listed and allow any word
      character in token value
    + Resolve parsing error for CHARACTER SET and COLLATE in MySQL
      ALTER TABLE (issue 2027)
    + fix truncate parsing to capture multiple tables
    + fix insert default values statements not parsing
    + chore adding extra details to unit test scenarios
    + feature/fix: parsing inserts/updates/delete within CTEs
    + chore removing system.out.println lines + minor clean up of
      unit test scripts
    + Exasol support
    + Unparenthesized SubSelect as FromItem
    + Skyline syntax (preferring clause)
    + Failure to parse query with PRIOR in select list
    + Fix parsing ALTER TABLE ... ADD COLUMNS (...)
    + Fix issue 2090: Correctly parse LOCK clause in ALTER TABLE
      statements
    + Fix issue 2089: Add parsing functionality for MySQL CONVERT
      TO statement
    + Fix issue 2106: Add parsing functionality for MySQL ADD
      PARTITION and DROP PARTITION clauses in ALTER TABLE
      statements
    + Fix issue 2106: Add parsing functionality for MySQL ADD
      PARTITION and DROP PARTITION clauses in ALTER TABLE
      statements(2)
    + fix: Issue #2109 true and false value parsed as column
      instead of BooleanValue
    + Fix issue 2106: Add parsing functionality for MySQL ALTER
      Table option statements
    + Fix issue 2089: Enhance MySQL CONVERT Statement Parsing
    + Fix issue 2118: Enhance MySQL ALTER TABLE Parsing
    + fix: [FEATURE] TablesNamesFinder does not support CREATE VIEW
      #2123
    + add support for MATERIALIZED in WITH clause
    + feat: add support MATCH_ANY MATCH_ALL MATCH_PHRASE
      MATCH_PHRASE_PREFIX MATCH_REGEXP
    + build(deps): bump org.junit.jupiter:junit-jupiter-engine from
      5.11.3 to 5.11.4
    + Fix null exception in ExpressionVisitorAdapter with simple
      INTERVAL expression

OBS-URL: https://build.opensuse.org/request/show/1238181
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=10
2025-01-16 08:49:29 +00:00
c4944c7b8f Accepting request 1220457 from home:urbic:branches:Java:packages
- Update to v5.0
  * Changes and new Features
    + feat: Salesforce SOQL INCLUDES and EXCLUDES operators
    + Add module info
    + Add missing java.sql require
    + feat: Capture expression name part delimiters
    + fix: set stringValue in DoubleValue.setValue
    + support custom DeParser
    + feat: Allow OUTER keyword as function parameter name

OBS-URL: https://build.opensuse.org/request/show/1220457
OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=9
2024-11-04 08:33:59 +00:00
85708a57b6 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=8 2024-04-08 14:32:28 +00:00
336aa6182f OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=7 2024-03-25 06:53:51 +00:00
bfa1c8de50 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=6 2024-03-25 06:51:16 +00:00
059d9a2451 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=5 2024-03-19 08:30:38 +00:00
36d8905ba8 OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=4 2024-03-19 08:27:11 +00:00
42768339df OBS-URL: https://build.opensuse.org/package/show/Java:packages/jsqlparser?expand=0&rev=3 2024-03-19 08:02:40 +00:00
5 changed files with 89 additions and 16 deletions

10
_constraints Normal file
View File

@@ -0,0 +1,10 @@
<constraints>
<hardware>
<physicalmemory>
<size unit="M">4096</size>
</physicalmemory>
<disk>
<size unit="G">6</size>
</disk>
</hardware>
</constraints>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d6a3c82ea39177b60b2f693e70718231d77b6aacbca64905973ddab2eb10be7
size 682723

3
jsqlparser-5.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd61f5db79886441d77682dbfc0b72bde5b25819f92ac5a9213aa5fecff9fd73
size 800103

View File

@@ -1,3 +1,69 @@
-------------------------------------------------------------------
Thu Mar 27 14:19:55 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Do not use the upstream settings for maven-compiler-plugin, since
they are rather broken on i586
- Do not build javadoc, since it runs often into stack overflow.
-------------------------------------------------------------------
Thu Jan 16 07:19:23 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v5.1
* Changes and new Features
+ Avoid private tokens to be white listed and allow any word
character in token value
+ Resolve parsing error for CHARACTER SET and COLLATE in MySQL
ALTER TABLE (issue 2027)
+ fix truncate parsing to capture multiple tables
+ fix insert default values statements not parsing
+ chore adding extra details to unit test scenarios
+ feature/fix: parsing inserts/updates/delete within CTEs
+ chore removing system.out.println lines + minor clean up of
unit test scripts
+ Exasol support
+ Unparenthesized SubSelect as FromItem
+ Skyline syntax (preferring clause)
+ Failure to parse query with PRIOR in select list
+ Fix parsing ALTER TABLE ... ADD COLUMNS (...)
+ Fix issue 2090: Correctly parse LOCK clause in ALTER TABLE
statements
+ Fix issue 2089: Add parsing functionality for MySQL CONVERT
TO statement
+ Fix issue 2106: Add parsing functionality for MySQL ADD
PARTITION and DROP PARTITION clauses in ALTER TABLE
statements
+ Fix issue 2106: Add parsing functionality for MySQL ADD
PARTITION and DROP PARTITION clauses in ALTER TABLE
statements(2)
+ fix: Issue #2109 true and false value parsed as column
instead of BooleanValue
+ Fix issue 2106: Add parsing functionality for MySQL ALTER
Table option statements
+ Fix issue 2089: Enhance MySQL CONVERT Statement Parsing
+ Fix issue 2118: Enhance MySQL ALTER TABLE Parsing
+ fix: [FEATURE] TablesNamesFinder does not support CREATE VIEW
#2123
+ add support for MATERIALIZED in WITH clause
+ feat: add support MATCH_ANY MATCH_ALL MATCH_PHRASE
MATCH_PHRASE_PREFIX MATCH_REGEXP
+ build(deps): bump org.junit.jupiter:junit-jupiter-engine from
5.11.3 to 5.11.4
+ Fix null exception in ExpressionVisitorAdapter with simple
INTERVAL expression
-------------------------------------------------------------------
Sun Nov 3 11:28:52 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v5.0
* Changes and new Features
+ feat: Salesforce SOQL INCLUDES and EXCLUDES operators
+ Add module info
+ Add missing java.sql require
+ feat: Capture expression name part delimiters
+ fix: set stringValue in DoubleValue.setValue
+ support custom DeParser
+ feat: Allow OUTER keyword as function parameter name
-------------------------------------------------------------------
Mon Jan 22 14:45:47 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package jsqlparser
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: jsqlparser
Version: 4.9
Version: 5.1
Release: 0
Summary: An SQL statement parser
License: Apache-2.0 OR LGPL-2.1-only
Group: Development/Libraries/Java
URL: https://github.com/JSQLParser/JSqlParser/wiki
Source0: https://github.com/JSQLParser/JSqlParser/archive/refs/tags/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: java-devel >= 9
BuildRequires: maven-local
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
@@ -47,31 +47,28 @@ API documentation for %{name}.
%pom_remove_plugin :maven-source-plugin
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
%pom_remove_plugin :maven-pmd-plugin
%pom_remove_plugin org.codehaus.mojo:license-maven-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-compiler-plugin
%pom_xpath_replace 'pom:plugin/pom:groupId[.="org.javacc.plugin"]/text()' \
org.codehaus.mojo
%pom_change_dep net.java.dev.javacc:javacc ::ANY
%pom_xpath_remove 'pom:project/pom:reporting'
%{mvn_file} : %{name}
%build
#export MAVEN_OPTS='-Xmx1024m -Xms1024m -Xss64m'
%{mvn_build} -f -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)
export MAVEN_OPTS='-Xmx1024m -Xms1024m -Xss64m'
%{mvn_build} -f -j -- \
-Dmaven.compiler.release=9
%install
%mvn_install
%fdupes %{buildroot}%{_javadocdir}/%{name}
%files -f .mfiles
%license LICENSE*
%doc README.md
%files javadoc -f .mfiles-javadoc
%license LICENSE*
%changelog