You can download SQLG2 binaries and sources at http://sourceforge.net/projects/sqlg2.
To build SQLG2 from sources you need:
Run ANT on the root
build.xml file to build SQLG2 libraries.
Examples are located at
doc/examples directory (
db.properties file is placed there too). To run examples, you need:
First, you need to configure build environment for your database. You may change following configuration parameters:
|DB property||Where to change||Default value|
|JDBC driver class name||Defaults to
|JDBC driver library path||You have to change it|
|SQLG setup for specific database||Defaults to Oracle database (
|JDBC URL||You have to change it|
|User login||Defaults to user
After you have set up database properties, you can run examples. Go to example directory (
doc/examples/example1 for instance). The example may have some specific requirements on schema or additional libraries, so read README file for that example and create all necessary schema objects or install required libraries. Then run example as written in README.