The Plazma supports the following databases:
A installation of the Plazma includes physical database files only to HSQL.
The files available in a folder <Plazma>/db/hsql.
If you want to use a database of other vendors, you have to create database
and run SQL scripts.
To create a database, you can use various tools.
For example:
SQL scripts available in <Plazma>/db/script.
You can run the following script to create structure and fill a new database:
<Plazma>/db/script/createdb/<database-vendor>/<language>/create_plazma_db.sql - live database
<Plazma>/db/script/createdb/<database-vendor>/<language>/create_plazma_db_demo.sql - demo database
<database-vendor>
- vendor of the database (oracle, postgresql, mysql, firebird, hsql)
<language>
- language (en, de, ru, uk)
For the Firebird database and the English language:
<Plazma>/db/script/createdb/firebird/en/create_plazma_db.sql - live database
<Plazma>/db/script/createdb/firebird/en/create_plazma_db_demo.sql - demo database
More:
Oracle
PostgreSQL
MySQL
Firebird
HSQL
A installation of the Plazma includes all JDBC drivers for the supported databases.
JAR files available in a folder <Plazma>/lib/<database-vendor>.
If you use other databases you have to download JDBC drivers from the vendor web site and
add driver files to CLASSPATH.
More:
Oracle
PostgreSQL
MySQL
Firebird
HSQL
For connected need to change the relevant properties in the file <Plazma>/conf/jdbc.properties.
For example:
# Set properties to connect to the Firebird database
jdbc.driverClassName=org.firebirdsql.jdbc.FBDriver
jdbc.url=jdbc:firebirdsql:localhost/3050:C:\\DATA\\plazma.fdb
jdbc.username=sysdba
jdbc.password=masterkey
More:
Oracle
PostgreSQL
MySQL
Firebird
HSQL
Oracle | PostgreSQL | MySQL | Firebird | HSQL | |
Web site | http://www.oracle.com | http://www.postgresql.org | http://www.mysql.org | http://www.firebirdsql.org | http://hsqldb.org |
File/dump of database | - | - | - | - | Include |
SQL scripts (generate DB) | Include | Include | Include | Include | Include |
JDBC Driver | Include | Include | Include | Include | Include |
JDBC Driver Class | oracle.jdbc.driver.OracleDriver | org.postgresql.Driver | com.mysql.jdbc.Driver | org.firebirdsql.jdbc.FBDriver | org.hsqldb.jdbcDriver |
JDBC Url | jdbc:oracle:thin:@<host>[:<port>]:<database> | jdbc:postgresql:[<//host>[:<port>/]]<database> | jdbc:mysql://<host>[<:port>]/<database> | jdbc:firebirdsql:[//host[:port]/]<database> | jdbc:hsqldb:hsql://<host>[:<port>] |
JDBC Url example | jdbc:oracle:thin:@localhost:1521:XE | jdbc:postgresql://localhost:5432/plazma | jdbc:mysql://localhost:3306/plazma | jdbc:firebirdsql:localhost/3050:C:\\plazma.fdb | jdbc:hsqldb:hsql://localhost |
Port by default | 1521 | 5432 | 3306 | 3050 | 1476 |