Database Connection
Using Dialog
In the Data view, right-click DATABASE and click Add Store.
In the Add Database Connection Information dialog,
Fill out connection information as below and click OK.
Name: order (ODI name)
Vendor: mysql
Database IP Address: oz.ozeform.io
Database Port number: 3306
Database name: ozdemodb
User name: designer
Password: password
Using DB Connection Pool
db.properties
Go to the default working folder (
C:\Users\username\Documents\OZRepository\)
and createdb.properties
.Add DB connection information below.
# for MySQL, MariaDB
# 'demo' will be the Alias name
demo.vendor=mysql
#demo.serverAddress=oz.ozeform.io
demo.serverAddress=127.0.0.1
demo.portNo=3306
demo.dbName=ozdemodb
demo.user=designer
demo.password=password
demo.maxconns=20
demo.initconns=5
demo.timeout=5
demo.initSqls=
demo.closeSqls=
demo.doConnectionCheck=true
demo.testQueryString=select 1
demo.sessionQuery=
demo.encodecharset=
demo.decodecharset=
demo.fetchrow=0
demo.ignoreQueryError=false
Connecting to database
In the Add Database Connection Information dialog,
Tick the checkbox Alias at the bottom and type in "demo"
Select the db.properties from the file browser.
Click OK.
Database Information
Once connected to the database, tables are listed in the lower part of the Data view.
By right-clicking a table name you can see table field information or data rows (max 100 rows by default).
To change the max row count, go to File tab menu, select Options > Environment > General.
Connecting to SQL Server
Get the appropriate JDBC driver for your SQL Server version from Microsoft.
For Designer
Put the driver .jar file into
OZ Query Designer 9.0/UniversalDriver
Open
OZ Query Designer 9.0/config/launch.cfg
Replace sqljdbc.jar with the downloaded jar and save.
Add database alias definition in the db.properties
mssql.vendor=USER
mssql.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
mssql.url=jdbc:sqlserver://127.0.0.1:1433;DatabaseName=dbname;encrypt=false;
mssql.user=sa
mssql.password=password
mssql.maxconns=20
mssql.initconns=5
mssql.timeout=5
mssql.initSqls=
mssql.closeSqls=
mssql.doConnectionCheck=true
mssql.testQueryString=select 1
mssql.sessionQuery=
mssql.encodecharset=
mssql.decodecharset=
mssql.fetchrow=0
mssql.ignoreQueryError=false
mssql.encrypt=false
For Server
Put the downloaded jar file into WEB-INF/lib
Restart tomcat for the server
Connecting to Oracle12C
Get ojdbc6.jar
Put it in C:\Program Files (x86)\Forcs\OZ Report 6.0\OZ Query Designer 6.0\UniversalDriver
Delete classes12.jar and classes12.zip from UniversalDriver.
Open ..\config\launch.cfg, find "classes.zip", and change it to "ojdbc6.jar".
Add database alias definition in the db.properties
ora.vendor=oracle
ora.serverAddress=end-point
ora.portNo=1521
ora.sid=ORCL
ora.user=user
ora.password=password
ora.maxconns=20
ora.initconns=5
ora.timeout=5
ora.doConnectionCheck=false
ora.sessionQuery=
ora.doConnectionCheck=
ora.testQueryString=
ora.decodecharset=
ora.encodecharset=
ora.fetchrow=
ora.ignoreQueryError=false
Database Connection (6.0)
Using Dialog
In the Data view, right-click DATABASE and click Add Store.
In the Add Database Connection Information dialog,
Fill out connection information as below and click OK.
Name: order (ODI name)
Vendor: user
Driver Class Name: com.mysql.jdbc.Driver
Connection URL: jdbc:mysql://127.0.0.1:3306/ozdemodb
User name: username
Password: password
Using DB Connection Pool
db.properties
Go to the default working folder (
C:\Users\username\Documents\OZRepository\)
and createdb.properties
.Add DB connection information below.
demo.vendor=USER
demo.driver=com.mysql.jdbc.Driver
demo.url=jdbc:mysql://127.0.0.1:3306/ozdemodb
demo.user=user
demo.password=password
demo.maxconns=20
demo.initconns=5
demo.timeout=5
demo.initSqls=
demo.closeSqls=
demo.doConnectionCheck=true
demo.testQueryString=select 1
demo.sessionQuery=
demo.encodecharset=
demo.decodecharset=
demo.fetchrow=0
demo.ignoreQueryError=false
Last updated
Was this helpful?