Database

Description

A convenience wrapper around database related components.

Use this component to reduce the number of required constructor parameters in your database dependant components, and make sure that they'll access the right data source, if you are using the ThreadDataSource decorator.

Browse

Dependencies

required components DataSource, IdGenerator, Transaction
required libraries none

Constructor parameters

position type description
1 org.objectledge.database.DataSource the data source
2 org.objectledge.database.IdGenerator the id generator
3 org.objectledge.database.Transaction the transaction