| ILOG JRules User Guide > Managing Rule Execution Server > Tasks > Administering Rule Execution Server > Changing the Default Behavior of the Execution Stack > Changing Persistence Provider Parameters |
Changing Persistence Provider Parameters |
PREVIOUS NEXT |
You can change the persistence provider parameters using a configuration property.
To change the parameters of the persistence provider property:
<config-property-name>persistenceProperties</config-property-name>.
<config-property-value>JNDI_NAME=jdbc/bresdatasource</config-property-value> (database persistence in J2SE where the JNDI name is jdbc/bresdatasource) with one of the following:
For both persistence types, the property CONCURRENT_PERSISTENCE_ACCESS specifies whether persistence access can be concurrent.
To add the property to the ruleset provider configuration, include the property name as follows:
J2EE database persistence
<config-property-value> JNDI_NAME=jdbc/bresdatasource CONCURRENT_PERSISTENCE_ACCESS=false </config-property-value>
J2SE database persistence
<config-property-value>
DRIVER_CLASS_NAME=com.pointbase.jdbc.jdbcUniversalDriver,
URL=jdbc:pointbase:server://computer/database,
USER=pbpublic,
PASSWORD=pbpublic,
CONCURRENT_PERSISTENCE_ACCESS=false
</config-property-value>
File persistence
<config-property-value> DIRECTORY=res_data, CONCURRENT_PERSISTENCE_ACCESS=false </config-property-value>
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |