-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Oracle Alternative Quoting #1722
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
Merged
Merged
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
747152a
Fixes #1684: Support CREATE MATERIALIZED VIEW with AUTO REFRESH
zaza 9e09005
Merge branch 'master' into 1684-create-mv-auto-refresh
zaza ea4477b
Reduce cyclomatic complexity in CreateView.toString
zaza b5321d6
Enhanced Keywords
manticore-projects 5fae2f5
Fix incorrect tests
manticore-projects f49e828
Define Reserved Keywords explicitly
manticore-projects 86f337d
Fix test resources
manticore-projects 2d51a82
Adjust Gradle to JUnit 5
manticore-projects 232aff6
Do not mark SpeedTest for concurrent execution
manticore-projects 3ba5410
Remove unused imports
manticore-projects e960a35
Adjust Gradle to JUnit 5
manticore-projects 67f7951
Do not mark SpeedTest for concurrent execution
manticore-projects a016be0
Remove unused imports
manticore-projects 2ef6637
Sphinx Documentation
manticore-projects 57193b8
doc: request for `Conventional Commit` messages
manticore-projects b94b2cc
feat: make important Classes Serializable
manticore-projects 02202c5
chore: Make Serializable
manticore-projects a3ca325
doc: Better integration of the RR diagrams
manticore-projects fcb5ab1
Merge
manticore-projects c57c427
feat: Oracle Alternative Quoting
manticore-projects 2aec1f6
style: Appease PMD/Codacy
manticore-projects 1c8d8da
feat: CREATE VIEW ... REFRESH AUTO...
manticore-projects b707b23
doc: fix the issue template
manticore-projects 46314c4
Update issue templates
manticore-projects 4aeafbc
Update issue templates
manticore-projects b081484
feat: Support more Statement Separators
manticore-projects File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,10 @@ plugins { | |
id "ca.coglinc2.javacc" version "latest.release" | ||
id 'jacoco' | ||
id "com.github.spotbugs" version "latest.release" | ||
id "com.diffplug.spotless" version "latest.release" | ||
id 'pmd' | ||
id 'checkstyle' | ||
|
||
// download the RR tools which have no Maven Repository | ||
id "de.undercouch.download" version "latest.release" | ||
|
||
|
@@ -98,6 +99,7 @@ java { | |
} | ||
|
||
test { | ||
environment = [ 'EXPORT_TEST_TO_FILE': 'True' ] | ||
useJUnitPlatform() | ||
|
||
// set heap size for the test JVM(s) | ||
|
@@ -200,23 +202,23 @@ spotbugsMain { | |
spotbugs { | ||
// fail only on P1 and without the net.sf.jsqlparser.parser.* | ||
excludeFilter = file("config/spotbugs/spotBugsExcludeFilter.xml") | ||
|
||
// do not run over the test, although we should do that eventually | ||
spotbugsTest.enabled = false | ||
spotbugsTest.enabled = false | ||
} | ||
|
||
pmd { | ||
consoleOutput = false | ||
//toolVersion = "6.46.0" | ||
|
||
sourceSets = [sourceSets.main] | ||
|
||
// clear the ruleset in order to use configured rules only | ||
ruleSets = [] | ||
|
||
//rulesMinimumPriority = 1 | ||
ruleSetFiles = files("config/pmd/ruleset.xml") | ||
|
||
pmdMain { | ||
excludes = [ | ||
"build/generated/*" | ||
|
@@ -229,6 +231,25 @@ checkstyle { | |
configFile =rootProject.file('config/checkstyle/checkstyle.xml') | ||
} | ||
|
||
spotless { | ||
// optional: limit format enforcement to just the files changed by this feature branch | ||
ratchetFrom 'origin/master' | ||
|
||
format 'misc', { | ||
// define the files to apply `misc` to | ||
target '*.gradle', '*.md', '.gitignore' | ||
|
||
// define the steps to apply to those files | ||
trimTrailingWhitespace() | ||
indentWithSpaces(4) // or spaces. Takes an integer argument if you don't like 4 | ||
endWithNewline() | ||
} | ||
java { | ||
indentWithSpaces(4) | ||
eclipse().configFile('config/formatter/eclipse-java-google-style.xml') | ||
} | ||
} | ||
|
||
tasks.withType(Checkstyle) { | ||
reports { | ||
xml.required = false | ||
|
@@ -239,7 +260,7 @@ tasks.withType(Checkstyle) { | |
task renderRR() { | ||
dependsOn(compileJavacc) | ||
doLast { | ||
// these WAR files have been provided as a courtesy by Gunther Rademacher | ||
// these WAR files have been provided as a courtesy by Gunther Rademacher | ||
// and belong to the RR - Railroad Diagram Generator Project | ||
// https://github.com/GuntherRademacher/rr | ||
// | ||
|
@@ -340,8 +361,8 @@ task sphinx(type: Exec) { | |
dependsOn(gitChangelogTask, renderRR, updateKeywords) | ||
|
||
String PROLOG = """ | ||
.. |_| unicode:: U+00A0 | ||
:trim: | ||
.. |_| unicode:: U+00A0 | ||
:trim: | ||
|
||
.. |JSQLPARSER_EMAIL| replace:: [email protected] | ||
.. |JSQLPARSER_VERSION| replace:: ${getVersion(false)} | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/main/java/net/sf/jsqlparser/statement/create/view/AutoRefreshOption.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/*- | ||
* #%L | ||
* JSQLParser library | ||
* %% | ||
* Copyright (C) 2004 - 2019 JSQLParser | ||
* %% | ||
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0 | ||
* #L% | ||
*/ | ||
package net.sf.jsqlparser.statement.create.view; | ||
|
||
public enum AutoRefreshOption { | ||
NONE, | ||
|
||
YES, | ||
|
||
NO | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.