★ wanayoo — archive 1999 https://github.com/JSQLParser/JSqlParser/pull/1045/checksNouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation visitor framework #1045

Open
wants to merge 263 commits into
base: master
from

fix javadoc warnings

f86eed8
Select commit
4b3a1a4
Merge branch 'master.fluent' of https://github.com/gitmotte/JSqlParse…
gitmotte Jul 6, 2020
34db4f5
* add with prefix for fluent setters.
gitmotte Jul 6, 2020
a2600c7
add getters
gitmotte Jul 6, 2020
bb2b15f
* add with prefix for fluent setters. (revert to chaining setters, do
gitmotte Jul 6, 2020
8b6fd6b
* add with prefix for fluent setters. (revert to chaining setters, do
gitmotte Jul 6, 2020
0880fde
use new methods within testcases
gitmotte Jul 6, 2020
63679e0
use new methods within testcases
gitmotte Jul 6, 2020
1d0a24d
use new methods within testcases
gitmotte Jul 6, 2020
fda2f67
use new methods within testcases
gitmotte Jul 6, 2020
8d2cde4
use new methods within testcases
gitmotte Jul 6, 2020
1027829
use new methods within testcases
gitmotte Jul 6, 2020
8de6c09
use new methods within testcases
gitmotte Jul 6, 2020
a0cc175
use new methods within testcases
gitmotte Jul 7, 2020
dd60c2e
Merge branch 'master.fluent' of
gitmotte Jul 7, 2020
ea4356a
remove create() methods - they do not add enough value to be justified
gitmotte Jul 7, 2020
8ece698
* use new methods within testcases
gitmotte Jul 7, 2020
77d92c0
* use new methods within testcases
gitmotte Jul 7, 2020
0c99e8c
* use new methods within testcases
gitmotte Jul 7, 2020
89fe5f4
* renamed constant
gitmotte Jul 7, 2020
4d94a4d
use new methods within testcases
gitmotte Jul 7, 2020
d2cec9d
use new methods within testcases
gitmotte Jul 7, 2020
0554831
use new methods within testcases
gitmotte Jul 7, 2020
b55b988
use new methods within testcases
gitmotte Jul 7, 2020
8b68980
Merge branch 'master.fluent' of https://github.com/gitmotte/JSqlParse…
gitmotte Jul 8, 2020
5f10ac4
* use new methods within testcases
gitmotte Jul 8, 2020
a7a0b70
* use new methods within testcases
gitmotte Jul 8, 2020
77cf290
remove empty implicit constructor
gitmotte Jul 8, 2020
09691fe
return the deparsed Statement - object
gitmotte Jul 8, 2020
d0c12d6
compare object tree
gitmotte Jul 8, 2020
06684c1
compare object tree
gitmotte Jul 8, 2020
2babbd7
* fix ObjectTreeToStringStyle
gitmotte Jul 8, 2020
c0dddbf
remove casts not needed
gitmotte Jul 8, 2020
cb2d078
* use new methods within testcases
gitmotte Jul 8, 2020
48d859c
* use new methods within testcases
gitmotte Jul 8, 2020
6267772
add empty constructors and override with-/add-methods returning concrete
gitmotte Jul 9, 2020
bfa2e20
* add ReflectionModelTest
gitmotte Jul 9, 2020
b80b2d5
* use new methods within testcases
gitmotte Jul 9, 2020
f1dfc4f
fix checkstyle errors
gitmotte Jul 9, 2020
e383883
license header
gitmotte Jul 9, 2020
bc8c2a4
Merge branch 'master.fluent' of https://github.com/gitmotte/JSqlParse…
gitmotte Jul 10, 2020
41568fa
remove test-classes from ReflectionModelTest
gitmotte Jul 10, 2020
94adc21
remove visitoradapter-classes from ReflectionModelTest
gitmotte Jul 10, 2020
c2f80a2
* add SelectDeParser(StringBuilder)
gitmotte Jul 10, 2020
81455ee
Merge branch 'master.cleancode'
gitmotte Jul 11, 2020
2c38c25
push to synbee-contrib
gitmotte Jul 11, 2020
20bc1ac
Merge branch 'github.validate'
gitmotte Jul 11, 2020
08eca7f
add ValidationUtil for simple validation of one or more statements
gitmotte Jul 12, 2020
25b6035
remove overrides of
gitmotte Jul 12, 2020
c336736
Merge branch 'github.validate'
gitmotte Jul 12, 2020
3a9e7d4
add ValidationVisitor showcase
gitmotte Jun 30, 2020
bd85f47
add ValidationUtil for simple validation of one or more statements
gitmotte Jul 12, 2020
5b8b1b9
remove overrides of
gitmotte Jul 12, 2020
96537f6
visit(ShowTablesStatement)
gitmotte Jul 12, 2020
750173d
copyright/license
gitmotte Jul 12, 2020
0116cfe
add stubs (use deparsers as template)
gitmotte Jul 16, 2020
563fc6a
Merge branch 'master.validate' of https://github.com/gitmotte/JSqlPar…
gitmotte Jul 16, 2020
2f649a2
Merge branch 'master.validate' of
gitmotte Jul 16, 2020
df9c9b0
add ValidationVisitor showcase
gitmotte Jun 30, 2020
6d7df4b
add ValidationUtil for simple validation of one or more statements
gitmotte Jul 12, 2020
da4a246
remove overrides of
gitmotte Jul 12, 2020
2bf49b2
visit(ShowTablesStatement)
gitmotte Jul 12, 2020
2297233
add stubs (use deparsers as template)
gitmotte Jul 16, 2020
b005db2
Merge branch 'master.validate' of https://github.com/gitmotte/JSqlPar…
gitmotte Jul 16, 2020
f852161
Merge branch 'master.validate' of
gitmotte Jul 16, 2020
fc92f50
add tests for ValidationUtil
gitmotte Jul 16, 2020
617e76b
+ implements OrderByVisitor
gitmotte Jul 16, 2020
1f38c74
split Expressionvalidator which implements both ItemsListVisitor and
gitmotte Jul 16, 2020
5eed3c3
Merge branch 'github.validate'
gitmotte Jul 16, 2020
ff1a227
Merge branch 'github.validate'
gitmotte Jul 16, 2020
7e97aeb
Merge branch 'github.validate'
gitmotte Jul 16, 2020
ee346ea
implement upsertvalidator
gitmotte Jul 16, 2020
1a7a287
Merge branch 'master' into github.validate
gitmotte Jul 16, 2020
2c0695d
Merge branch 'master.validate' of
gitmotte Jul 17, 2020
8bf3bf9
add copyright
gitmotte Jul 17, 2020
9ed6d07
use get() - orElseThrow() is not supported in 1.8
gitmotte Jul 17, 2020
676ad81
validate through given ValidationCapability's
gitmotte Jul 17, 2020
04ea85f
* switch to new method forced by
gitmotte Jul 17, 2020
9b5eecc
add FeatureConfiguration
gitmotte Jul 17, 2020
084377a
use FeatureConfiguration within parser
gitmotte Jul 17, 2020
279515b
repair pom.xml
gitmotte Jul 17, 2020
9b94f89
repair pom.xml
gitmotte Jul 17, 2020
edc32d4
repair pom.xml
gitmotte Jul 17, 2020
fe1ae01
repair pom.xml
gitmotte Jul 17, 2020
33d4c9d
* make FeatureConfiguration not a singleton any more
gitmotte Jul 18, 2020
3f78259
implement some Validators
gitmotte Jul 19, 2020
4ddaa66
basic implementation of DatabaseMetaDataValidation /
gitmotte Jul 19, 2020
45d9128
moving classes to sub-packages
gitmotte Jul 19, 2020
50a75f3
* moving classes to sub-packages
gitmotte Jul 19, 2020
8228432
repair pom.xml
gitmotte Jul 19, 2020
694bd39
add and fix validations
gitmotte Jul 19, 2020
bc7da82
add javadoc
gitmotte Jul 20, 2020
d12b706
* force definition of ```public String getMessage(Feature feature)```
gitmotte Jul 20, 2020
e29a35b
impl.
gitmotte Jul 20, 2020
18336b0
add Version-enums
gitmotte Jul 20, 2020
a5cc7d3
impl.
gitmotte Jul 20, 2020
e578036
refactoring enum-name should be upper case
gitmotte Jul 21, 2020
8e5cdfb
add ansi sql enum
gitmotte Jul 21, 2020
34727c6
refactoring enum-name should be upper case
gitmotte Jul 21, 2020
57d3192
implement limitvalidator
gitmotte Jul 21, 2020
1b64628
+ validateOffset
gitmotte Jul 21, 2020
e1bcee7
+ validateFetch
gitmotte Jul 21, 2020
abc34de
+ validate Pivot, UnPivot, PivotXml
gitmotte Jul 21, 2020
e362817
+ implement DropValidator
gitmotte Jul 21, 2020
b02022e
change testcase to image a more probably usecase
gitmotte Jul 21, 2020
e17116e
* add javadoc and
gitmotte Jul 21, 2020
19e124b
* implement executevalidator
gitmotte Jul 21, 2020
3c34426
implement ExpressionValidator
gitmotte Jul 21, 2020
ec7b0fc
implement GrantValidator
gitmotte Jul 21, 2020
8968f9a
javadoc and complete SELECT constant
gitmotte Jul 21, 2020
49fc2a7
use utility methods from AbstractValidator
gitmotte Jul 22, 2020
5f2d8bd
more user friendly names
gitmotte Jul 22, 2020
1b660d7
javadoc
gitmotte Jul 22, 2020
6d904df
add subtypes for ValidationException
gitmotte Jul 22, 2020
d8240ba
javadoc & rename exception
gitmotte Jul 22, 2020
989042a
rename method
gitmotte Jul 22, 2020
3d639bd
extract parsing task into package - private class for {@link
gitmotte Jul 22, 2020
b6f16be
add null-check for parsedStatement
gitmotte Jul 22, 2020
6115628
bugfix - do not collect duplicates
gitmotte Jul 23, 2020
a0ffd27
implement toString() for
gitmotte Jul 24, 2020
2a591b7
add simple caching
gitmotte Jul 24, 2020
acde3dc
+ validateOptionalFromItem(s)
gitmotte Jul 24, 2020
6a3cc6e
* implement GroupByValidator
gitmotte Jul 24, 2020
47a0f04
implement merge-validator
gitmotte Jul 24, 2020
559c553
renaming ItemListValidator -> ItemsListValidator
gitmotte Jul 24, 2020
72e025b
+ validateOptionalItemsList
gitmotte Jul 24, 2020
7c9ce67
* remove validateOptionalColumns -> switch to
gitmotte Jul 24, 2020
971bfac
+ SetStatementValidator
gitmotte Jul 24, 2020
ed92dfe
+ ValuesStatementValidator
gitmotte Jul 24, 2020
c2136c8
+ UseStatementValidator
gitmotte Jul 24, 2020
f7249d5
* implement UpdateValidator
gitmotte Jul 24, 2020
336a06a
* implement ShowStatementValidator/ShowColumnsStatementValidator
gitmotte Jul 24, 2020
0f8e1d0
* implement UpdateValidator
gitmotte Jul 24, 2020
b10c298
* add Feature.jdbcParameter, Feature.jdbcNamedParameter, to all
gitmotte Jul 24, 2020
5e5f3a4
+ validateOptionalFeature
gitmotte Jul 24, 2020
a4a410e
* implement DeleteValidator
gitmotte Jul 24, 2020
cf1a05e
...
gitmotte Jul 24, 2020
25be4a4
fix typo
gitmotte Jul 24, 2020
9754460
small optimization
gitmotte Jul 25, 2020
145cdf9
* move method getFeaturesClone to FeatureSet
gitmotte Jul 25, 2020
6a90b92
* add join - features to sqlserver, h2
gitmotte Jul 25, 2020
1f63b0b
implementations
gitmotte Jul 25, 2020
d88f068
bugfix - merging the errors
gitmotte Jul 25, 2020
b66e0ee
copyright
gitmotte Jul 26, 2020
7a0ac5b
https://github.com/JSQLParser/JSqlParser/issues/1022
gitmotte Jul 26, 2020
783ea38
add more fine granular control for setOperations
gitmotte Jul 26, 2020
128436b
fix nullpointerexception
gitmotte Jul 26, 2020
c4de844
add more fine granular control for comments
gitmotte Jul 26, 2020
9a8f437
add Features supported
gitmotte Jul 26, 2020
484ce56
* add javadoc
gitmotte Jul 31, 2020
4ddd34d
extract methods isNotEmpty
gitmotte Jul 31, 2020
2129ac5
check for isNotEmpty
gitmotte Jul 31, 2020
c106ec9
* add features to *Version-files
gitmotte Jul 31, 2020
033dc65
always parse net.sf.jsqlparser.statement.Statements and validate the
gitmotte Aug 3, 2020
a94cb96
add known mariadb features
gitmotte Aug 4, 2020
2b3835b
new names-set for FeaturesAllowed
gitmotte Aug 4, 2020
73c173e
new names-set for FeaturesAllowed
gitmotte Aug 4, 2020
4a73772
new names-set for FeaturesAllowed
gitmotte Aug 4, 2020
b5712c8
add ature.withItem, Feature.withItemRecursive to H2
gitmotte Aug 4, 2020
a3b5974
Feature.setOperation, Feature.setOperationUnion,
gitmotte Aug 4, 2020
6a2f095
add features to SQLServer
gitmotte Aug 4, 2020
5915b97
Merge branch 'master.orig' into github.validate
gitmotte Aug 17, 2020
f32d047
Merge branch 'master.orig' into github.validate
gitmotte Aug 17, 2020
225db94
@Override() -> @Override
gitmotte Aug 26, 2020
1c58c6e
* an extensible validation visitor framework (ValidationCapability and
gitmotte Aug 26, 2020
a24e309
Merge branch 'master' of https://github.com/JSQLParser/JSqlParser.git…
gitmotte Aug 26, 2020
28ba063
fix typing error "joinStaight" > joinStraight
gitmotte Sep 2, 2020
f3b3709
rename Feature "insertValues" -> "values" and use "insertValues" for
gitmotte Sep 2, 2020
03265dd
add javadoc
gitmotte Sep 2, 2020
c5acbe4
add Feature.selectGroupByGroupingSets to PostgresqlVersion
gitmotte Sep 2, 2020
4f96d2b
implement basic OracleVersion
gitmotte Sep 2, 2020
aeb3159
Merge branch 'JSQLParser.master/master' into master.validate
gitmotte Sep 2, 2020
1427246
add Feature.mySql* - also supported by mariadb
gitmotte Sep 2, 2020
61b78eb
add some more finegraned control over "drop" Feature.
gitmotte Sep 2, 2020
4ea582d
complete FeaturesAllowed groups INSERT/UPDATE/DELETE/MERGE/DML
gitmotte Sep 2, 2020
142e2c1
add link to documentation
gitmotte Sep 2, 2020
86a443b
fix - duplicate use of feature "function" - the use of functions in
gitmotte Sep 8, 2020
ca1ebc0
Merge branch 'master' of https://github.com/JSQLParser/JSqlParser.git…
gitmotte Sep 8, 2020
a301a43
Merge branch 'origin.orig/master' into origin/master.validate
gitmotte Sep 8, 2020
cd39e18
TODO this feature seams very close to a jsqlparser-user usecase
gitmotte Sep 8, 2020
d2285f4
* implement MySqlVersion
gitmotte Sep 11, 2020
8b971ab
remove HSQLDBVersion - do not support this variant
gitmotte Sep 11, 2020
0c0ce78
remove HSQLDBVersion - do not support this variant
gitmotte Sep 11, 2020
45514fd
Merge branch 'JSQLParser.master/master' into master.validate
gitmotte Sep 11, 2020
c736432
add unit-test
gitmotte Sep 11, 2020
90f0da7
+ add unittests for
gitmotte Sep 14, 2020
90227d1
add some utility-methods in ValidationTestAsserts
gitmotte Sep 14, 2020
ddebad4
complete unit-tests for InsertValidator
gitmotte Sep 15, 2020
66e3fb4
remote Feature.insertReturningExpressionList for Oracle -
gitmotte Sep 15, 2020
ae8085e
add some more select validation tests
gitmotte Sep 15, 2020
bd31191
add DropValidatorTests
gitmotte Sep 15, 2020
f9c271d
add DropValidatorTests
gitmotte Sep 15, 2020
7b85ab8
add CreateTableValidatorTests
gitmotte Sep 15, 2020
149224c
add CreateTableValidatorTests
gitmotte Sep 15, 2020
4eaee78
add ExpressionValidatorTests
gitmotte Sep 15, 2020
8758923
add OrderByValidatorTest
gitmotte Sep 16, 2020
dc55189
use isNotEmpty
gitmotte Sep 16, 2020
d247f11
implement GroupByValidatorTest
gitmotte Sep 16, 2020
cbdd2d2
implement CreateSequenceValidatorTest
gitmotte Sep 16, 2020
9ec4518
remove @Ignore - test is ok
gitmotte Sep 16, 2020
2074bfb
implement CreateIndexValidatorTest
gitmotte Sep 16, 2020
c7261ca
implement CreateViewValidatorTest
gitmotte Sep 16, 2020
7f2bd15
enable validation of Feature.commentOnView (#1024 is merged already)
gitmotte Sep 16, 2020
f4b4a7f
change format of #toString() for better readability
gitmotte Sep 16, 2020
67edd7a
* implement MergeValidatorTest
gitmotte Sep 16, 2020
cce8912
rename
gitmotte Sep 18, 2020
5e593ac
add DatabaseMetaDataValidationTest
gitmotte Sep 18, 2020
a348358
checkstyle fix
gitmotte Sep 18, 2020
bc07dc4
add copyright statement
gitmotte Sep 18, 2020
f065256
add unit-tests for show tables, show column, show statements
gitmotte Sep 21, 2020
a87e797
* add ExecuteValidatorTest
gitmotte Sep 21, 2020
42de644
* add ExecuteValidatorTest for CALL fnName (mysql, mariadb, postgres)
gitmotte Sep 21, 2020
643b3ac
add upsertvalidatortest
gitmotte Sep 21, 2020
3caccf7
add GrantValidatorTest
gitmotte Sep 21, 2020
7f0de9c
add AlterSequenceValidatorTest
gitmotte Sep 21, 2020
1abac95
add AlterSequenceValidatorTest
gitmotte Sep 21, 2020
bda1689
add AlterViewValidatorTest
gitmotte Sep 21, 2020
fec4d65
add AlterValidatorTest
gitmotte Sep 21, 2020
5207760
replace != null by isNotEmpty on collections
gitmotte Sep 21, 2020
f813f8f
fix formatting
gitmotte Sep 21, 2020
d2914cf
add validate commit
gitmotte Sep 21, 2020
e4cfd21
add validate block
gitmotte Sep 21, 2020
ad95766
add DeclareStatementValidatorTest
gitmotte Sep 21, 2020
079c580
let NamesLookup implement UnaryOperator<String>
gitmotte Sep 21, 2020
e100701
let NamesLookup implement UnaryOperator<String>
gitmotte Sep 21, 2020
eb723b0
add javadoc
gitmotte Sep 22, 2020
6a6aab5
add more DatabaseMetaDataValidationTest's
gitmotte Sep 22, 2020
df60604
extract JdbcDatabaseMetaDataCapability.splitAndValidateMinMax
gitmotte Sep 22, 2020
0ec87ef
add pivot/unpivot/pivotxml validation testcases
gitmotte Sep 22, 2020
b8bbe8f
add testcase for Feature.tableFunction
gitmotte Sep 22, 2020
b1c094d
add test for lateral joins and subjoins
gitmotte Sep 22, 2020
e8209a7
add testValidationRowMovementOption
gitmotte Sep 22, 2020
0ac4006
add values validator test
gitmotte Sep 22, 2020
5c2b65d
move tests to LimitValidatorTest
gitmotte Sep 22, 2020
457d17b
move tests to UseStatementValidatorTest
gitmotte Sep 22, 2020
5eb08ec
add tests for SET - statements
gitmotte Sep 22, 2020
5bec08a
fix checkstyle error
gitmotte Sep 22, 2020
29623ad
new serialVersionUID
gitmotte Sep 22, 2020
d455cbb
add validation for NamedObject not existing
gitmotte Sep 23, 2020
8a79a08
need table/view reference to validate column names
gitmotte Sep 24, 2020
3714a2c
fix typo
gitmotte Sep 24, 2020
63a7896
fix errormessage (Arrays.toString(types))
gitmotte Sep 24, 2020
241ab00
add trigger, alias
gitmotte Sep 24, 2020
9657d05
extract NamesLookup to own file (jdk-bug enum inner classes)
gitmotte Sep 25, 2020
907cda7
fix name-check AlterOperation.ALTER
gitmotte Sep 25, 2020
c9030b2
fix error message
gitmotte Sep 25, 2020
6257b66
remove methods not needed (they only delegate to ValidationContext)
gitmotte Sep 25, 2020
d2bc01f
add tests - validate metadata
gitmotte Sep 27, 2020
5f8ff53
fix compile error
gitmotte Sep 28, 2020
34cf7b9
fix columnExists check - depending on the statement the prefix is an
gitmotte Sep 29, 2020
f86eed8
fix javadoc warnings
gitmotte Sep 29, 2020
Open

Validation visitor framework #1045

fix javadoc warnings
f86eed8
Select commit
4b3a1a4
Merge branch 'master.fluent' of https://github.com/gitmotte/JSqlParse…
gitmotte Jul 6, 2020
34db4f5
* add with prefix for fluent setters.
gitmotte Jul 6, 2020
a2600c7
add getters
gitmotte Jul 6, 2020
bb2b15f
* add with prefix for fluent setters. (revert to chaining setters, do
gitmotte Jul 6, 2020
8b6fd6b
* add with prefix for fluent setters. (revert to chaining setters, do
gitmotte Jul 6, 2020
0880fde
use new methods within testcases
gitmotte Jul 6, 2020
63679e0
use new methods within testcases
gitmotte Jul 6, 2020
1d0a24d
use new methods within testcases
gitmotte Jul 6, 2020
fda2f67
use new methods within testcases
gitmotte Jul 6, 2020
8d2cde4
use new methods within testcases
gitmotte Jul 6, 2020
1027829
use new methods within testcases
gitmotte Jul 6, 2020
8de6c09
use new methods within testcases
gitmotte Jul 6, 2020
a0cc175
use new methods within testcases
gitmotte Jul 7, 2020
dd60c2e
Merge branch 'master.fluent' of
gitmotte Jul 7, 2020
ea4356a
remove create() methods - they do not add enough value to be justified
gitmotte Jul 7, 2020
8ece698
* use new methods within testcases
gitmotte Jul 7, 2020
77d92c0
* use new methods within testcases
gitmotte Jul 7, 2020
0c99e8c
* use new methods within testcases
gitmotte Jul 7, 2020
89fe5f4
* renamed constant
gitmotte Jul 7, 2020
4d94a4d
use new methods within testcases
gitmotte Jul 7, 2020
d2cec9d
use new methods within testcases
gitmotte Jul 7, 2020
0554831
use new methods within testcases
gitmotte Jul 7, 2020
b55b988
use new methods within testcases
gitmotte Jul 7, 2020
8b68980
Merge branch 'master.fluent' of https://github.com/gitmotte/JSqlParse…
gitmotte Jul 8, 2020
5f10ac4
* use new methods within testcases
gitmotte Jul 8, 2020
a7a0b70
* use new methods within testcases
gitmotte Jul 8, 2020
77cf290
remove empty implicit constructor
gitmotte Jul 8, 2020
09691fe
return the deparsed Statement - object
gitmotte Jul 8, 2020
d0c12d6
compare object tree
gitmotte Jul 8, 2020
06684c1
compare object tree
gitmotte Jul 8, 2020
2babbd7
* fix ObjectTreeToStringStyle
gitmotte Jul 8, 2020
c0dddbf
remove casts not needed
gitmotte Jul 8, 2020
cb2d078
* use new methods within testcases
gitmotte Jul 8, 2020
48d859c
* use new methods within testcases
gitmotte Jul 8, 2020
6267772
add empty constructors and override with-/add-methods returning concrete
gitmotte Jul 9, 2020
bfa2e20
* add ReflectionModelTest
gitmotte Jul 9, 2020
b80b2d5
* use new methods within testcases
gitmotte Jul 9, 2020
f1dfc4f
fix checkstyle errors
gitmotte Jul 9, 2020
e383883
license header
gitmotte Jul 9, 2020
bc8c2a4
Merge branch 'master.fluent' of https://github.com/gitmotte/JSqlParse…
gitmotte Jul 10, 2020
41568fa
remove test-classes from ReflectionModelTest
gitmotte Jul 10, 2020
94adc21
remove visitoradapter-classes from ReflectionModelTest
gitmotte Jul 10, 2020
c2f80a2
* add SelectDeParser(StringBuilder)
gitmotte Jul 10, 2020
81455ee
Merge branch 'master.cleancode'
gitmotte Jul 11, 2020
2c38c25
push to synbee-contrib
gitmotte Jul 11, 2020
20bc1ac
Merge branch 'github.validate'
gitmotte Jul 11, 2020
08eca7f
add ValidationUtil for simple validation of one or more statements
gitmotte Jul 12, 2020
25b6035
remove overrides of
gitmotte Jul 12, 2020
c336736
Merge branch 'github.validate'
gitmotte Jul 12, 2020
3a9e7d4
add ValidationVisitor showcase
gitmotte Jun 30, 2020
bd85f47
add ValidationUtil for simple validation of one or more statements
gitmotte Jul 12, 2020
5b8b1b9
remove overrides of
gitmotte Jul 12, 2020
96537f6
visit(ShowTablesStatement)
gitmotte Jul 12, 2020
750173d
copyright/license
gitmotte Jul 12, 2020
0116cfe
add stubs (use deparsers as template)
gitmotte Jul 16, 2020
563fc6a
Merge branch 'master.validate' of https://github.com/gitmotte/JSqlPar…
gitmotte Jul 16, 2020
2f649a2
Merge branch 'master.validate' of
gitmotte Jul 16, 2020
df9c9b0
add ValidationVisitor showcase
gitmotte Jun 30, 2020
6d7df4b
add ValidationUtil for simple validation of one or more statements
gitmotte Jul 12, 2020
da4a246
remove overrides of
gitmotte Jul 12, 2020
2bf49b2
visit(ShowTablesStatement)
gitmotte Jul 12, 2020
2297233
add stubs (use deparsers as template)
gitmotte Jul 16, 2020
b005db2
Merge branch 'master.validate' of https://github.com/gitmotte/JSqlPar…
gitmotte Jul 16, 2020
f852161
Merge branch 'master.validate' of
gitmotte Jul 16, 2020
fc92f50
add tests for ValidationUtil
gitmotte Jul 16, 2020
617e76b
+ implements OrderByVisitor
gitmotte Jul 16, 2020
1f38c74
split Expressionvalidator which implements both ItemsListVisitor and
gitmotte Jul 16, 2020
5eed3c3
Merge branch 'github.validate'
gitmotte Jul 16, 2020
ff1a227
Merge branch 'github.validate'
gitmotte Jul 16, 2020
7e97aeb
Merge branch 'github.validate'
gitmotte Jul 16, 2020
ee346ea
implement upsertvalidator
gitmotte Jul 16, 2020
1a7a287
Merge branch 'master' into github.validate
gitmotte Jul 16, 2020
2c0695d
Merge branch 'master.validate' of
gitmotte Jul 17, 2020
8bf3bf9
add copyright
gitmotte Jul 17, 2020
9ed6d07
use get() - orElseThrow() is not supported in 1.8
gitmotte Jul 17, 2020
676ad81
validate through given ValidationCapability's
gitmotte Jul 17, 2020
04ea85f
* switch to new method forced by
gitmotte Jul 17, 2020
9b5eecc
add FeatureConfiguration
gitmotte Jul 17, 2020
084377a
use FeatureConfiguration within parser
gitmotte Jul 17, 2020
279515b
repair pom.xml
gitmotte Jul 17, 2020
9b94f89
repair pom.xml
gitmotte Jul 17, 2020
edc32d4
repair pom.xml
gitmotte Jul 17, 2020
fe1ae01
repair pom.xml
gitmotte Jul 17, 2020
33d4c9d
* make FeatureConfiguration not a singleton any more
gitmotte Jul 18, 2020
3f78259
implement some Validators
gitmotte Jul 19, 2020
4ddaa66
basic implementation of DatabaseMetaDataValidation /
gitmotte Jul 19, 2020
45d9128
moving classes to sub-packages
gitmotte Jul 19, 2020
50a75f3
* moving classes to sub-packages
gitmotte Jul 19, 2020
8228432
repair pom.xml
gitmotte Jul 19, 2020
694bd39
add and fix validations
gitmotte Jul 19, 2020
bc7da82
add javadoc
gitmotte Jul 20, 2020
d12b706
* force definition of ```public String getMessage(Feature feature)```
gitmotte Jul 20, 2020
e29a35b
impl.
gitmotte Jul 20, 2020
18336b0
add Version-enums
gitmotte Jul 20, 2020
a5cc7d3
impl.
gitmotte Jul 20, 2020
e578036
refactoring enum-name should be upper case
gitmotte Jul 21, 2020
8e5cdfb
add ansi sql enum
gitmotte Jul 21, 2020
34727c6
refactoring enum-name should be upper case
gitmotte Jul 21, 2020
57d3192
implement limitvalidator
gitmotte Jul 21, 2020
1b64628
+ validateOffset
gitmotte Jul 21, 2020
e1bcee7
+ validateFetch
gitmotte Jul 21, 2020
abc34de
+ validate Pivot, UnPivot, PivotXml
gitmotte Jul 21, 2020
e362817
+ implement DropValidator
gitmotte Jul 21, 2020
b02022e
change testcase to image a more probably usecase
gitmotte Jul 21, 2020
e17116e
* add javadoc and
gitmotte Jul 21, 2020
19e124b
* implement executevalidator
gitmotte Jul 21, 2020
3c34426
implement ExpressionValidator
gitmotte Jul 21, 2020
ec7b0fc
implement GrantValidator
gitmotte Jul 21, 2020
8968f9a
javadoc and complete SELECT constant
gitmotte Jul 21, 2020
49fc2a7
use utility methods from AbstractValidator
gitmotte Jul 22, 2020
5f2d8bd
more user friendly names
gitmotte Jul 22, 2020
1b660d7
javadoc
gitmotte Jul 22, 2020
6d904df
add subtypes for ValidationException
gitmotte Jul 22, 2020
d8240ba
javadoc & rename exception
gitmotte Jul 22, 2020
989042a
rename method
gitmotte Jul 22, 2020
3d639bd
extract parsing task into package - private class for {@link
gitmotte Jul 22, 2020
b6f16be
add null-check for parsedStatement
gitmotte Jul 22, 2020
6115628
bugfix - do not collect duplicates
gitmotte Jul 23, 2020
a0ffd27
implement toString() for
gitmotte Jul 24, 2020
2a591b7
add simple caching
gitmotte Jul 24, 2020
acde3dc
+ validateOptionalFromItem(s)
gitmotte Jul 24, 2020
6a3cc6e
* implement GroupByValidator
gitmotte Jul 24, 2020
47a0f04
implement merge-validator
gitmotte Jul 24, 2020
559c553
renaming ItemListValidator -> ItemsListValidator
gitmotte Jul 24, 2020
72e025b
+ validateOptionalItemsList
gitmotte Jul 24, 2020
7c9ce67
* remove validateOptionalColumns -> switch to
gitmotte Jul 24, 2020
971bfac
+ SetStatementValidator
gitmotte Jul 24, 2020
ed92dfe
+ ValuesStatementValidator
gitmotte Jul 24, 2020
c2136c8
+ UseStatementValidator
gitmotte Jul 24, 2020
f7249d5
* implement UpdateValidator
gitmotte Jul 24, 2020
336a06a
* implement ShowStatementValidator/ShowColumnsStatementValidator
gitmotte Jul 24, 2020
0f8e1d0
* implement UpdateValidator
gitmotte Jul 24, 2020
b10c298
* add Feature.jdbcParameter, Feature.jdbcNamedParameter, to all
gitmotte Jul 24, 2020
5e5f3a4
+ validateOptionalFeature
gitmotte Jul 24, 2020
a4a410e
* implement DeleteValidator
gitmotte Jul 24, 2020
cf1a05e
...
gitmotte Jul 24, 2020
25be4a4
fix typo
gitmotte Jul 24, 2020
9754460
small optimization
gitmotte Jul 25, 2020
145cdf9
* move method getFeaturesClone to FeatureSet
gitmotte Jul 25, 2020
6a90b92
* add join - features to sqlserver, h2
gitmotte Jul 25, 2020
1f63b0b
implementations
gitmotte Jul 25, 2020
d88f068
bugfix - merging the errors
gitmotte Jul 25, 2020
b66e0ee
copyright
gitmotte Jul 26, 2020
7a0ac5b
https://github.com/JSQLParser/JSqlParser/issues/1022
gitmotte Jul 26, 2020
783ea38
add more fine granular control for setOperations
gitmotte Jul 26, 2020
128436b
fix nullpointerexception
gitmotte Jul 26, 2020
c4de844
add more fine granular control for comments
gitmotte Jul 26, 2020
9a8f437
add Features supported
gitmotte Jul 26, 2020
484ce56
* add javadoc
gitmotte Jul 31, 2020
4ddd34d
extract methods isNotEmpty
gitmotte Jul 31, 2020
2129ac5
check for isNotEmpty
gitmotte Jul 31, 2020
c106ec9
* add features to *Version-files
gitmotte Jul 31, 2020
033dc65
always parse net.sf.jsqlparser.statement.Statements and validate the
gitmotte Aug 3, 2020
a94cb96
add known mariadb features
gitmotte Aug 4, 2020
2b3835b
new names-set for FeaturesAllowed
gitmotte Aug 4, 2020
73c173e
new names-set for FeaturesAllowed
gitmotte Aug 4, 2020
4a73772
new names-set for FeaturesAllowed
gitmotte Aug 4, 2020
b5712c8
add ature.withItem, Feature.withItemRecursive to H2
gitmotte Aug 4, 2020
a3b5974
Feature.setOperation, Feature.setOperationUnion,
gitmotte Aug 4, 2020
6a2f095
add features to SQLServer
gitmotte Aug 4, 2020
5915b97
Merge branch 'master.orig' into github.validate
gitmotte Aug 17, 2020
f32d047
Merge branch 'master.orig' into github.validate
gitmotte Aug 17, 2020
225db94
@Override() -> @Override
gitmotte Aug 26, 2020
1c58c6e
* an extensible validation visitor framework (ValidationCapability and
gitmotte Aug 26, 2020
a24e309
Merge branch 'master' of https://github.com/JSQLParser/JSqlParser.git…
gitmotte Aug 26, 2020
28ba063
fix typing error "joinStaight" > joinStraight
gitmotte Sep 2, 2020
f3b3709
rename Feature "insertValues" -> "values" and use "insertValues" for
gitmotte Sep 2, 2020
03265dd
add javadoc
gitmotte Sep 2, 2020
c5acbe4
add Feature.selectGroupByGroupingSets to PostgresqlVersion
gitmotte Sep 2, 2020
4f96d2b
implement basic OracleVersion
gitmotte Sep 2, 2020
aeb3159
Merge branch 'JSQLParser.master/master' into master.validate
gitmotte Sep 2, 2020
1427246
add Feature.mySql* - also supported by mariadb
gitmotte Sep 2, 2020
61b78eb
add some more finegraned control over "drop" Feature.
gitmotte Sep 2, 2020
4ea582d
complete FeaturesAllowed groups INSERT/UPDATE/DELETE/MERGE/DML
gitmotte Sep 2, 2020
142e2c1
add link to documentation
gitmotte Sep 2, 2020
86a443b
fix - duplicate use of feature "function" - the use of functions in
gitmotte Sep 8, 2020
ca1ebc0
Merge branch 'master' of https://github.com/JSQLParser/JSqlParser.git…
gitmotte Sep 8, 2020
a301a43
Merge branch 'origin.orig/master' into origin/master.validate
gitmotte Sep 8, 2020
cd39e18
TODO this feature seams very close to a jsqlparser-user usecase
gitmotte Sep 8, 2020
d2285f4
* implement MySqlVersion
gitmotte Sep 11, 2020
8b971ab
remove HSQLDBVersion - do not support this variant
gitmotte Sep 11, 2020
0c0ce78
remove HSQLDBVersion - do not support this variant
gitmotte Sep 11, 2020
45514fd
Merge branch 'JSQLParser.master/master' into master.validate
gitmotte Sep 11, 2020
c736432
add unit-test
gitmotte Sep 11, 2020
90f0da7
+ add unittests for
gitmotte Sep 14, 2020
90227d1
add some utility-methods in ValidationTestAsserts
gitmotte Sep 14, 2020
ddebad4
complete unit-tests for InsertValidator
gitmotte Sep 15, 2020
66e3fb4
remote Feature.insertReturningExpressionList for Oracle -
gitmotte Sep 15, 2020
ae8085e
add some more select validation tests
gitmotte Sep 15, 2020
bd31191
add DropValidatorTests
gitmotte Sep 15, 2020
f9c271d
add DropValidatorTests
gitmotte Sep 15, 2020
7b85ab8
add CreateTableValidatorTests
gitmotte Sep 15, 2020
149224c
add CreateTableValidatorTests
gitmotte Sep 15, 2020
4eaee78
add ExpressionValidatorTests
gitmotte Sep 15, 2020
8758923
add OrderByValidatorTest
gitmotte Sep 16, 2020
dc55189
use isNotEmpty
gitmotte Sep 16, 2020
d247f11
implement GroupByValidatorTest
gitmotte Sep 16, 2020
cbdd2d2
implement CreateSequenceValidatorTest
gitmotte Sep 16, 2020
9ec4518
remove @Ignore - test is ok
gitmotte Sep 16, 2020
2074bfb
implement CreateIndexValidatorTest
gitmotte Sep 16, 2020
c7261ca
implement CreateViewValidatorTest
gitmotte Sep 16, 2020
7f2bd15
enable validation of Feature.commentOnView (#1024 is merged already)
gitmotte Sep 16, 2020
f4b4a7f
change format of #toString() for better readability
gitmotte Sep 16, 2020
67edd7a
* implement MergeValidatorTest
gitmotte Sep 16, 2020
cce8912
rename
gitmotte Sep 18, 2020
5e593ac
add DatabaseMetaDataValidationTest
gitmotte Sep 18, 2020
a348358
checkstyle fix
gitmotte Sep 18, 2020
bc07dc4
add copyright statement
gitmotte Sep 18, 2020
f065256
add unit-tests for show tables, show column, show statements
gitmotte Sep 21, 2020
a87e797
* add ExecuteValidatorTest
gitmotte Sep 21, 2020
42de644
* add ExecuteValidatorTest for CALL fnName (mysql, mariadb, postgres)
gitmotte Sep 21, 2020
643b3ac
add upsertvalidatortest
gitmotte Sep 21, 2020
3caccf7
add GrantValidatorTest
gitmotte Sep 21, 2020
7f0de9c
add AlterSequenceValidatorTest
gitmotte Sep 21, 2020
1abac95
add AlterSequenceValidatorTest
gitmotte Sep 21, 2020
bda1689
add AlterViewValidatorTest
gitmotte Sep 21, 2020
fec4d65
add AlterValidatorTest
gitmotte Sep 21, 2020
5207760
replace != null by isNotEmpty on collections
gitmotte Sep 21, 2020
f813f8f
fix formatting
gitmotte Sep 21, 2020
d2914cf
add validate commit
gitmotte Sep 21, 2020
e4cfd21
add validate block
gitmotte Sep 21, 2020
ad95766
add DeclareStatementValidatorTest
gitmotte Sep 21, 2020
079c580
let NamesLookup implement UnaryOperator<String>
gitmotte Sep 21, 2020
e100701
let NamesLookup implement UnaryOperator<String>
gitmotte Sep 21, 2020
eb723b0
add javadoc
gitmotte Sep 22, 2020
6a6aab5
add more DatabaseMetaDataValidationTest's
gitmotte Sep 22, 2020
df60604
extract JdbcDatabaseMetaDataCapability.splitAndValidateMinMax
gitmotte Sep 22, 2020
0ec87ef
add pivot/unpivot/pivotxml validation testcases
gitmotte Sep 22, 2020
b8bbe8f
add testcase for Feature.tableFunction
gitmotte Sep 22, 2020
b1c094d
add test for lateral joins and subjoins
gitmotte Sep 22, 2020
e8209a7
add testValidationRowMovementOption
gitmotte Sep 22, 2020
0ac4006
add values validator test
gitmotte Sep 22, 2020
5c2b65d
move tests to LimitValidatorTest
gitmotte Sep 22, 2020
457d17b
move tests to UseStatementValidatorTest
gitmotte Sep 22, 2020
5eb08ec
add tests for SET - statements
gitmotte Sep 22, 2020
5bec08a
fix checkstyle error
gitmotte Sep 22, 2020
29623ad
new serialVersionUID
gitmotte Sep 22, 2020
d455cbb
add validation for NamedObject not existing
gitmotte Sep 23, 2020
8a79a08
need table/view reference to validate column names
gitmotte Sep 24, 2020
3714a2c
fix typo
gitmotte Sep 24, 2020
63a7896
fix errormessage (Arrays.toString(types))
gitmotte Sep 24, 2020
241ab00
add trigger, alias
gitmotte Sep 24, 2020
9657d05
extract NamesLookup to own file (jdk-bug enum inner classes)
gitmotte Sep 25, 2020
907cda7
fix name-check AlterOperation.ALTER
gitmotte Sep 25, 2020
c9030b2
fix error message
gitmotte Sep 25, 2020
6257b66
remove methods not needed (they only delegate to ValidationContext)
gitmotte Sep 25, 2020
d2bc01f
add tests - validate metadata
gitmotte Sep 27, 2020
5f8ff53
fix compile error
gitmotte Sep 28, 2020
34cf7b9
fix columnExists check - depending on the statement the prefix is an
gitmotte Sep 29, 2020
f86eed8
fix javadoc warnings
gitmotte Sep 29, 2020

Workflow runs completed with no jobs

You can’t perform that action at this time.