From 6d95472726574cc93d280a665f546391c0877a2d Mon Sep 17 00:00:00 2001 From: wumpz Date: Sun, 17 Jun 2018 11:39:36 +0200 Subject: [PATCH] fixes #163 --- README.md | 4 ++++ .../java/net/sf/jsqlparser/statement/select/SelectTest.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4e33e5186..ecaf71484 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ JSqlParser is dual licensed under **LGPL V2.1** and **Apache Software License, V ## News +* changed behaviour of dotted multipart names for tables and columns to accept ORM class names * Released version **1.2** of JSqlParser * breaking **API** change: merge of *within group* and *over* (window expressions) * Released version **1.1** of JSqlParser. @@ -47,6 +48,9 @@ Also I would like to know about needed examples or documentation stuff. ## Extensions in the latest SNAPSHOT version 1.3 +* changed behaviour of dotted multipart names for tables and columns to accept ORM class names (issue #163) +** the parser allows now empty inner names, to still accept missing schema names for SQLServer (db..col) +** methods like **getDatabase** will still work but have no sense using it for classnames * named parameter for **OFFSET** (issue #612) * corrected ISNULL regression (issue #610) * refactored statement test classes to the class corresponding packages diff --git a/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java b/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java index 20c32fec4..389386548 100644 --- a/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java +++ b/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java @@ -3215,5 +3215,5 @@ public void testMultiPartNamesIssue163() throws JSQLParserException { @Test public void testMultiPartNamesIssue608() throws JSQLParserException { assertSqlCanBeParsedAndDeparsed("SELECT @@session.tx_read_only"); - } + } }