You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Maciej Szefler <mb...@intalio.com> on 2007/01/15 22:51:51 UTC

DAO changes

Hi all,

I've checked in some DAO changes to better isolate the details of the
DAO implementation from the other components. From now on, please keep
all code except the JPA modules free from JPA dependnecies, and all
code except the hibernate modules free from hibernate dependencies.
The bpel-store currently violates this rule; I'm going to try to fix
that. For details take a look at new ODEServer (Axis2) and
OdeLifeCycle (JBI).

Notes:
* if you would like to use a hibernate.properties file, it should now
be called "bpel-dao.properties", not "hibernate.properties"

* Axis2 can be configured to use jpa/hibernate using the same system
property, but the check is now done in ODEServer, not the Axis2 hook.
ODEServerJPA no longer exists.

* JBI can be configured to use jpa/hibernate using the
ode-jbi.properties file. The property is "ode-jbi.dao.factory" and
should be set to the BpelDAOConnectionFactory implementation.

-mbs