Skip to content

Commit 581d97a

Browse files
2 parents 5885e1c + 745701b commit 581d97a

5 files changed

Lines changed: 26 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [JSqlParser (4.5 Stable or 4.6 Snapshot)](https://jsqlparser.github.io/JSqlParser) <img src="src/site/sphinx/_images/logo-no-background.svg" alt="drawing" width="200" align="right"/>
1+
# [JSqlParser (4.6 Stable or 4.7 Snapshot)](https://jsqlparser.github.io/JSqlParser) <img src="src/site/sphinx/_images/logo-no-background.svg" alt="drawing" width="200" align="right"/>
22

33
![Build Status](https://github.com/JSQLParser/JSqlParser/actions/workflows/maven.yml/badge.svg)
44

@@ -58,6 +58,9 @@ if (statement instanceof Select) {
5858

5959
**JSqlParser** can also be used to create SQL Statements from Java Code with a fluent API (see [Samples](https://jsqlparser.github.io/JSqlParser/usage.html#build-a-sql-statements)).
6060

61+
## Alternatives to JSqlParser?
62+
[**General SQL Parser**](http://www.sqlparser.com/features/introduce.php?utm_source=github-jsqlparser&utm_medium=text-general) looks pretty good, with extended SQL syntax (like PL/SQL and T-SQL) and java + .NET APIs. The tool is commercial (license available online), with a free download option.
63+
6164
## [Documentation](https://jsqlparser.github.io/JSqlParser)
6265

6366
### [Samples](https://jsqlparser.github.io/JSqlParser/usage.html#parse-a-sql-statements)

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,8 @@ task sphinx(type: Exec) {
383383

384384
args = [
385385
"-Dproject=JSQLParser"
386-
, "-Dcopyright=Tobias Warnecke, 2022"
387-
, "-Dauthor=Tobias Warnecke"
386+
, "-Dcopyright=Tobias Warneke, 2022"
387+
, "-Dauthor=Tobias Warneke"
388388
, "-Drelease=${getVersion(false)}"
389389
, "-Drst_prolog=$PROLOG"
390390
, "${projectDir}/src/site/sphinx"

pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>com.github.jsqlparser</groupId>
44
<artifactId>jsqlparser</artifactId>
5-
<version>4.6-SNAPSHOT</version>
5+
<version>4.7-SNAPSHOT</version>
66
<name>JSQLParser library</name>
77
<inceptionYear>2004</inceptionYear>
88
<organization>
@@ -279,19 +279,22 @@
279279
<plugin>
280280
<groupId>org.apache.maven.plugins</groupId>
281281
<artifactId>maven-release-plugin</artifactId>
282-
<version>3.0.0-M6</version>
282+
<version>3.0.0-M7</version>
283283
<configuration>
284284
<localCheckout>true</localCheckout>
285285
<pushChanges>false</pushChanges>
286286
<mavenExecutorId>forked-path</mavenExecutorId>
287+
<releaseProfiles>sign-release-artifacts</releaseProfiles>
287288
</configuration>
289+
<!--
288290
<dependencies>
289291
<dependency>
290292
<groupId>org.apache.maven.scm</groupId>
291293
<artifactId>maven-scm-provider-gitexe</artifactId>
292294
<version>1.9.5</version>
293295
</dependency>
294296
</dependencies>
297+
-->
295298
</plugin>
296299
<plugin>
297300
<groupId>org.apache.maven.plugins</groupId>
@@ -356,7 +359,7 @@
356359
<exclude>net/sf/jsqlparser/JSQLParserException.class</exclude>
357360
</excludes>
358361
</instrumentation>
359-
<check/>
362+
<check />
360363
</configuration>
361364
</plugin>
362365
<plugin>
@@ -408,8 +411,8 @@
408411
<include>.gitignore</include>
409412
</includes>
410413
<!-- define the steps to apply to those files -->
411-
<trimTrailingWhitespace/>
412-
<endWithNewline/>
414+
<trimTrailingWhitespace />
415+
<endWithNewline />
413416
<indent>
414417
<tabs>true</tabs>
415418
<spacesPerTab>4</spacesPerTab>

src/test/java/net/sf/jsqlparser/parser/ParserKeywordsUtilsTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import java.util.Set;
4141
import java.util.TreeSet;
4242
import java.util.logging.Logger;
43+
import org.junit.jupiter.api.Disabled;
4344

4445

4546
class ParserKeywordsUtilsTest {
@@ -168,13 +169,15 @@ void getAllKeywords() throws IOException {
168169
}
169170

170171
@Test
172+
@Disabled
171173
void getAllKeywordsUsingJavaCC() throws Exception {
172174
Set<String> allKeywords = getAllKeywordsUsingJavaCC(FILE);
173175
Assertions.assertFalse( allKeywords.isEmpty(), "Keyword List must not be empty!" );
174176
}
175177

176178
// Test, if all Tokens found per RegEx are also found from the JavaCCParser
177179
@Test
180+
@Disabled
178181
void compareKeywordLists() throws Exception {
179182
Set<String> allRegexKeywords = ParserKeywordsUtils.getAllKeywordsUsingRegex(FILE);
180183
Set<String> allJavaCCParserKeywords = getAllKeywordsUsingJavaCC(FILE);

src/test/java/net/sf/jsqlparser/statement/StatementSeparatorTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*-
2+
* #%L
3+
* JSQLParser library
4+
* %%
5+
* Copyright (C) 2004 - 2023 JSQLParser
6+
* %%
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
8+
* #L%
9+
*/
110
package net.sf.jsqlparser.statement;
211

312
import net.sf.jsqlparser.*;

0 commit comments

Comments
 (0)