View source | View content page | Page history | Printable version   

Projects:Enable Read-Only Pool per report/Developers guide

OBDal

The OBDal instance (available through OBDal.getInstance()) is the main entrance point for retrieving and storing business objects in the database in a validated and secure way. It provides the following functions:

The OBDal API makes extensive use of the OBCriteria and OBQuery classes to support querying.

Bulbgraph.png   This feature is available starting from 3.0PR17Q2.

The OBDal class allows to access to the read-only database (pool). In this case, the instance must be retrieved with the OBDal.getReadOnlyInstance() method. It is important to note that if the read-only pool is not configured, this method will use the standard pool to get the database connections.

Bulbgraph.png   This feature is available starting from 3.0PR18Q3.

Once the read-only pool is configured, there are two ways to override OBDal.getReadOnlyInstance() behavior:

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Enable_Read-Only_Pool_per_report/Developers_guide"

This page has been accessed 453 times. This page was last modified on 31 May 2018, at 07:43. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.