Try OpenEdge Now
skip to main content
Managed Adapters Guide
Database Managed Adapter : Working with the Database Adapter : Using the Expert mode : Updating the Database adapter properties file on the server
 
Updating the Database adapter properties file on the server
To update the Database adapter properties file on the server with the database properties of your Database adapter:
1. Open the OEBPS_HOME\adapters\db\conf\db.properties file in a text editor.
2. In the beginning of the file, increase the value of db.count by the number of Database adapters’ properties you want add from your application(s).
3. Open the OEBPS_WORKSPACE\.com.savvion.studio\adapters\DBAdapters\db.properties file in a text editor.
4. Copy the group of database properties of your Database adapter that you want to add in the db.properties file on the server.
5. Paste the copied database properties at the end of the db.properties file on the server.
6. Increase the index for that group of database properties by one.
For example, in the db0.name property, ‘0’ is the index for that property. If you increase the db.count to 2 in Step 2, then set the index to ‘1’ for the group of database properties you add.
7. Save the db.properties file on the server.
A sample database properties file is shown below:
db.count=1
db0.name=oebps
db0.type=openedge
db0.user=dbadmin
db0.pass=3ksw22R+HI4=
db0.jndi=jdbc/SBMCommonDB
db0.driver=com.ddtek.jdbc.openedge.OpenEdgeDriver
db0.url=jdbc:datadirect:openedge://localhost-7:8910;DatabaseName=oebps
db0.additional=