Releases: JSQLParser/JSqlParser
Releases · JSQLParser/JSqlParser
jsqlparser-0.8.9
Extensions Version 0.8.9
- First multi statements or script support.
- Backported window option from fork to analytic expression.
- Added NULLS FIRST and NULLS LAST to order by.
- Improved parsing of top.
- Improved support for multi part names (SQLServer)
- Better support for signed expressions. The sign is stored in the parse tree.
SELECT +col, -col FROM mytable
- Added CCJSqlParserUtil.parseExpression to parse a simple expression. Now you can build expressions from a String like "a+b".
Expression expr = CCJSqlParserUtil.parseExpression("a*(5+mycolumn)");
- Improved SelectUtils to build simple select statements.
Select select = SelectUtils.buildSelectFromTable(new Table("mytable"));
jsqlparser-0.8.8
Extensions Version 0.8.8
- Startet a simple utility class SelectUtils to collect basic select modification tools.
- addExpression adds a new expression to the select list.
- addJoin adds a new join to the select.
- Added support for optional " AS " for aliases.
SELECT * FROM mytable myalias
- Added first support for ALTER TABLE statements
ALTER TABLE mytable ADD COLUMN mycolumn varchar (255)
- Added support for PostgreSQL regular expression match operators.
SELECT a, b FROM foo WHERE a ~ '[help].*';
SELECT a, b FROM foo WHERE a ~* '[help].*';
SELECT a, b FROM foo WHERE a !~ '[help].*';
SELECT a, b FROM foo WHERE a !~* '[help].*';
jsqlparser-0.8.6
Extensions Version 0.8.6
- Added first support for Oracle hierarchical queries
SELECT * FROM employees CONNECT BY employee_id = manager_id ORDER BY last_name;
SELECT * FROM employees START WITH employee_id = 100 CONNECT BY PRIOR employee_id = manager_id ORDER SIBLINGS BY last_name;
jsqlparser-0.8.5
Extensions Version 0.8.5
- Added support for mysql truncate function
- Changed repository location and groupid of JSqlParsers artifact.
<dependency>
<groupId>com.github.jsqlparser</groupId>
<artifactId>jsqlparser</artifactId>
<version>0.8.5</version>
</dependency>
- Added support for postgresql type character varying.
jsqlparser-0.8.4
Extensions Version 0.8.4
- Added support for named JDBC parameters
SELECT * FROM mytable WHERE b = :param
- Added support for pivot expressions
- Added support for boolean functions in where statements
select * from my_table where bool_func(col)
- Added support for Oracles old join syntax for more compare operations
select * from taba, tabb where taba.a<tabb.a(+)
- Added support for foreign keys in create table statements
create table testTable1 (a varchar(10), b varchar(20), foreign key a references testTable2(a))
create table testTable1 (a varchar(10), b varchar(20), constraint fkIdx foreign key a references testTable2(a))
- Added support for simple intervals
select 5 - INTERVAL '45 MINUTE' from mytable
- Added support for multi values IN expression
select * from mytable where (a,b,c) in (select a,b,c from mytable2)