Ispirer Ispirer
 


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

Sqlways.ini File - Section [JAVA]

This article describes sqlways.ini file [JAVA] section and options it contains.

Option name Description
CONNECTION This option controls generation of connections in java code. If this option is empty or DEFAULT is specified SQLWays will generate connections in all classes with Embedded SQL. If this option is set to MAP SQLWays will generate connection mapping code and instance method, no matter whether the DML statements are used or not. If SINGLE is specified, SQLWays will generate connection code in separate class if DML statements are used.
PASSWORD This option sets assigned value into String password parameter of DriverManager method getConnection. When the option is empty or isn't specified then by default SQLWays assigns empty value into String password parameter of DriverManager method getConnection.
USERNAME This option sets assigned value into String user parameter of DriverManager method getConnection. When the option is empty or isn't specified then by default SQLWays assigns empty value into String user parameter of DriverManager method getConnection.
CONNECTIONURL This option sets assigned value into String url parameter of DriverManager method getConnection. When the option is empty or isn't specified then by default SQLWays assigns “jdbc:default:connection” value into String url parameter of DriverManager method getConnection.
CONVERT_SQL_IN_CONST_STRING This option controls how the query inside constant string will be treated. When the whole SQL query is built in one constant string need to set this option to “Yes” and SQLWays will try to convert it.
Possible values “Yes”, “No” or empty. Default value - “No” or empty

Example:

[JAVA]
CONNECTION=single
CONNECTIONURL=jdbc:oracle:thin:@localhost:1521:xe
USERNAME=oracle
PASSWORD=oracle

[JAVA]
CONNECTION=SINGLE
CONNECTIONURL=jdbc:informix-sqli://192.168.2.94:1526/test:INFORMIXSERVER=ol_vmdbsrv007 
USERNAME=informix 
PASSWORD=Ifmx_9.4


Ispirer Home Page Ispirer SQLWays Product Page Request SQLWays

sqlways/command-line/sqlways-ini/java-section.txt · Last modified: May 07, 2018, 03:15:26 PM (external edit)
 
© 1999-2018, Ispirer Systems Ltd.
All Rights Reserved.  Privacy Statement