Java demos for the General SQL Parser library
- open setenv/setenv.bat, and set JAVA_HOME to the path where JDK installed.
- create a build directory.
- cd src/main/java/demos
- enter any sub-directory which includes a demo, for example, cd checksyntax
- execute compile_checksyntax.bat
- execute run_checksyntax.bat
- SQL modify and rebuild, SQL refactor.
the master branch is updated only a new version of GSP is released on official webstie: https://sqlparser.com/download.php
while the dev branch is updated more frequently and may not compile using the gsp.jar from the official site or the jar under /lib directory.
- [2024/9/17] Changes directory structure and package name, all test unit under package name like: package gudusoft.gsqlparser.xxxTest;
Move all test units from
c:\prg\gsp_demo_java\src\test\java
to
c:\prg\gsp_demo_java\src\test\java\gudusoft\gsqlparser\
Move all demos from c:\prg\gsp_demo_java\src\main\java\demos to c:\prg\gsp_demo_java\src\main\java\gudusoft\gsqlparser\demos