Examples Of Property Definitions - Printronix T5000 Software Manual

Printnet enterprise suite
Hide thumbs Also See for T5000:
Table of Contents

Advertisement

Chapter
7
Telemetry Data Export To 3rd Party Databases
4. OdvJdbcDbFields (Database Fields List)
This is a comma separated list of database field names that correspond to
the fields defined when the database or spreadsheet was created. Any
field names in this list must match an AutoID property name. See "Data
Field Names" on page 285 for a list of the acceptable AutoID property
names (database name) that can be used.
5. OdvJdbcPreparedStatement (Optional property)
This optional property allows the user to explicitly define the SQL
prepared statement, as defined in the JDBC specification. If it is not
defined, a standard SQL INSERT statement is created using the table
name (from the OdvJdbcDbName property) and the fields (from the
OdvJdbcDbFields property).
For example, a table named mytable with the fields CaptureDate,
FailureCode, and DecodedData would create the following statement:
INSERT INTO mytable(CaptureDate,FailureCode,DecodedData)
VALUES(?,?,?)

Examples Of Property Definitions

The following are some examples of property definitions. In the examples, the
following values are used:
Database
User ID
Password
Table name = events
MySQL
OdvJdbcDriver=org.gjt.mm.mysql.Driver
OdvJdbcUrl=jdbc:mysql://mymachine/odv?user=odvuser&password=
odvpassword
OdvJdbcDbName=events
OdvJdbcDbFields=CaptureDate,FailureCode,DecodedData
SAP
OdvJdbcDriver=com.sap.dbtech.jdbc.DriverSapDB
OdvJdbcUrl=jdbc:sapdb:odv?user=odvuser&password=odvpassword
OdvJdbcDbName=events
OdvJdbcDbFields=CaptureDate,FailureCode,DecodedData
278
= odv
= odvuser
= odvpassword

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents