Neoview JDBC Type 4 Driver Programmer's Reference (R2.2, R2.3, R2.4, R2.5)
password Property
The password property sets the password value for passing to the NDCS server. By using this
property, you can also change the password. The password is encrypted when it is passed to the
server.
The format for specifying the password is:
password=old[,new,new]
old
is the current password
new
is the new password. Passwords must be 6 to 8 characters long and cannot contain double
quotes (").
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see “How to Specify JDBC
Type 4 Properties” (page 38).
Data type: String
Default: empty string
For example: password=eye0weU$
properties Property
The properties property specifies the location of the properties file that contains keyword-value
pairs that specify property values for configuring the Type 4 driver. For more information, see
“Creating and Using a Properties File” (page 38).
reserveDataLocators Property
The reserveDataLocators property sets the number of data locators to be reserved for a
process that stores data in a LOB table.
Set this property on a DataSource object, ConnectionPoolDataSource object, or
DriverManager object. For information about how to set properties, see “How to Specify JDBC
Type 4 Properties” (page 38).
Data type: int
Units: number of data locators to be reserved
Default: 100
Range: 1 to 9,223,372,036,854,775,807 (2**63 -1)
Do not set a value much greater than the number of data locators actually needed. If the specified
value is 0 (zero) or less, the default value (100) is used.
Base the setting of the value of the reserveDataLocators property on the application profile
being executed. If the application inserts a large number of LOB items, a higher value of the
reserveDataLocators property can prevent frequent updating of the ZZ_DATA_LOCATOR
value in the LOB table. However, if the application inserts only a small number of LOB items, a
smaller value is better. If a large value is used, holes (unused data-locator numbers) could occur
in the LOB table. These holes represent unused space.
Also, the administrator should avoid setting high values for the reserveDataLocators (for
example in the range of trillions or so). Setting high values prevents other Type 4 applications
that use LOB table from reserving data locators.
For additional information about data locator use, see “Reserving Data Locators” (page 52).
To change this value for a JDBC application, specify this property from the command line. For
example, the following command reserves 150 data locators for program class myProgramClass.
java –Dhpt4jdbc.reserveDataLocators=150 myProgramClass
46 Type 4 Driver Properties