Skip to content

Commit de29e1e

Browse files
authored
Merge pull request #1 from JSQLParser/master
periodic update
2 parents b1abc6f + 7205906 commit de29e1e

File tree

73 files changed

+659
-321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+659
-321
lines changed

ISSUE_TEMPLATE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
### Actual Behavior
2+
3+
### Expected Behavior
4+
5+
### Steps to Reproduce the Problem
6+
7+
1.
8+
1.
9+
1.
10+
11+
### Specifications
12+
13+
- Version:
14+
- Platform:
15+
- Subsystem:

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ JSqlParser is dual licensed under **LGPL V2.1** and **Apache Software License, V
1919
* Released version **1.1** of JSqlParser.
2020
* JSqlParser has now a build in checkstyle configuration to introduce source code conventions.
2121
* Released first major version **1.0** of JSqlParser.
22-
* Please test the actual **0.9.8-SNAPSHOT**. It includes includes grammar refactorings or changes which eventually results in parse tree changes.
23-
* Version **0.9.7** released.
24-
* Version **0.9.6** released.
25-
* Version **0.9.5** released.
26-
* Please test the actual **0.9.5-SNAPSHOT**. It includes some grammar refactorings which eventually results in parse tree changes.
27-
* Version **0.9.4** released.
28-
* Please test the actual SNAPSHOT, if there are problems using the extended identifier token.
29-
* Version **0.9.3** released.
3022

3123
More news can be found here: https://github.com/JSQLParser/JSqlParser/wiki/News.
3224

@@ -44,11 +36,24 @@ To help JSqlParsers development you are encouraged to provide
4436
* pull requests for new features
4537
* improvement requests
4638
* fund new features
39+
* a little donation
40+
41+
**Please write in english, since it's the language most of the dev team knows.**
4742

4843
Also I would like to know about needed examples or documentation stuff.
4944

5045
## Extensions in the latest SNAPSHOT version 1.2
5146

47+
* support for single quoted aliases ___select col1 as 'alias'___
48+
* support for Unicode string literal like **N'test'** or **U'test'**
49+
* support for bitwise not **~**
50+
* support for **drop view**
51+
* support for indexed JDBC parameters at multiple places
52+
* allowed **index** as object name
53+
* switched to JavaCC **modern template**
54+
* switched to JDK 1.7
55+
* introduced more AST node links
56+
* support for aliased table in **insert into** statement
5257
* **SQL_CALC_FOUND_ROWS** support
5358
* support for more complex expressions within **case expr when expr then expr end**.
5459
* support for **<<** and **>>** left and right shift operations

nb-configuration.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
Any value defined here will override the pom.xml file value but is only applicable to the current project.
1515
-->
1616
<netbeans.compile.on.save>none</netbeans.compile.on.save>
17-
<com-junichi11-netbeans-changelf.enable>true</com-junichi11-netbeans-changelf.enable>
17+
<com-junichi11-netbeans-changelf.enable>false</com-junichi11-netbeans-changelf.enable>
1818
<com-junichi11-netbeans-changelf.use-project>true</com-junichi11-netbeans-changelf.use-project>
1919
<com-junichi11-netbeans-changelf.lf-kind>LF</com-junichi11-netbeans-changelf.lf-kind>
2020
<com-junichi11-netbeans-changelf.use-global>false</com-junichi11-netbeans-changelf.use-global>

pom.xml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,6 @@
4949
<version>2.7.22</version>
5050
<scope>test</scope>
5151
</dependency>
52-
<dependency>
53-
<groupId>org.seleniumhq.selenium</groupId>
54-
<artifactId>selenium-java</artifactId>
55-
<scope>test</scope>
56-
<version>2.44.0</version>
57-
</dependency>
58-
<dependency>
59-
<groupId>com.opera</groupId>
60-
<artifactId>operadriver</artifactId>
61-
<scope>test</scope>
62-
<version>1.5</version>
63-
<exclusions>
64-
<exclusion>
65-
<groupId>org.seleniumhq.selenium</groupId>
66-
<artifactId>selenium-remote-driver</artifactId>
67-
</exclusion>
68-
</exclusions>
69-
</dependency>
7052
</dependencies>
7153

7254
<developers>
@@ -103,10 +85,10 @@
10385
<plugins>
10486
<plugin>
10587
<artifactId>maven-compiler-plugin</artifactId>
106-
<version>3.3</version>
88+
<version>3.7.0</version>
10789
<configuration>
108-
<source>1.6</source>
109-
<target>1.6</target>
90+
<source>1.7</source>
91+
<target>1.7</target>
11092
<showWarnings>true</showWarnings>
11193
<encoding>${project.build.sourceEncoding}</encoding>
11294
</configuration>
@@ -133,7 +115,7 @@
133115
<dependency>
134116
<groupId>net.java.dev.javacc</groupId>
135117
<artifactId>javacc</artifactId>
136-
<version>7.0.2</version>
118+
<version>7.0.3</version>
137119
</dependency>
138120
</dependencies>
139121
</plugin>

src/main/java/net/sf/jsqlparser/expression/AllComparisonExpression.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121
*/
2222
package net.sf.jsqlparser.expression;
2323

24+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2425
import net.sf.jsqlparser.statement.select.SubSelect;
2526

26-
public class AllComparisonExpression implements Expression {
27+
public class AllComparisonExpression extends ASTNodeAccessImpl implements Expression {
2728

2829
private final SubSelect subSelect;
2930

src/main/java/net/sf/jsqlparser/expression/AnalyticExpression.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*/
2222
package net.sf.jsqlparser.expression;
2323

24+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2425
import net.sf.jsqlparser.statement.select.OrderByElement;
2526

2627
import java.util.List;
@@ -35,7 +36,7 @@
3536
*
3637
* @author tw
3738
*/
38-
public class AnalyticExpression implements Expression {
39+
public class AnalyticExpression extends ASTNodeAccessImpl implements Expression {
3940

4041
private ExpressionList partitionExpressionList;
4142
private List<OrderByElement> orderByElements;

src/main/java/net/sf/jsqlparser/expression/AnyComparisonExpression.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@
2121
*/
2222
package net.sf.jsqlparser.expression;
2323

24+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2425
import net.sf.jsqlparser.statement.select.SubSelect;
2526

2627
/**
2728
* Combines ANY and SOME expressions.
2829
*
2930
* @author toben
3031
*/
31-
public class AnyComparisonExpression implements Expression {
32+
public class AnyComparisonExpression extends ASTNodeAccessImpl implements Expression {
3233

3334
private final SubSelect subSelect;
3435
private final AnyType anyType;

src/main/java/net/sf/jsqlparser/expression/BinaryExpression.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
*/
2222
package net.sf.jsqlparser.expression;
2323

24+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
25+
2426
/**
2527
* A basic class for binary expressions, that is expressions having a left member and a right member
2628
* which are in turn expressions.
2729
*/
28-
public abstract class BinaryExpression implements Expression {
30+
public abstract class BinaryExpression extends ASTNodeAccessImpl implements Expression {
2931

3032
private Expression leftExpression;
3133
private Expression rightExpression;

src/main/java/net/sf/jsqlparser/expression/CaseExpression.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
import java.util.List;
2525

26+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2627
import net.sf.jsqlparser.statement.select.PlainSelect;
2728

2829
/**
@@ -56,7 +57,7 @@
5657
*
5758
* @author Havard Rast Blok
5859
*/
59-
public class CaseExpression implements Expression {
60+
public class CaseExpression extends ASTNodeAccessImpl implements Expression {
6061

6162
private Expression switchExpression;
6263
private List<WhenClause> whenClauses;

src/main/java/net/sf/jsqlparser/expression/CastExpression.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
*/
2222
package net.sf.jsqlparser.expression;
2323

24+
import net.sf.jsqlparser.parser.ASTNodeAccessImpl;
2425
import net.sf.jsqlparser.statement.create.table.ColDataType;
2526

2627
/**
2728
*
2829
* @author tw
2930
*/
30-
public class CastExpression implements Expression {
31+
public class CastExpression extends ASTNodeAccessImpl implements Expression {
3132

3233
private Expression leftExpression;
3334
private ColDataType type;

0 commit comments

Comments
 (0)