org.apache.ojb.odmg
Interface OdmgConfiguration

All Known Implementing Classes:
OjbConfiguration

public interface OdmgConfiguration

This interface defines the configurable setting of the ODMG layer.

Version:
$Id: OdmgConfiguration.java,v 1.1 2007-08-24 22:17:37 ewestfal Exp $
Author:
Thomas Mahler

Method Summary
 Class getOqlCollectionClass()
          This class is used to hold results of OQL queries.
 boolean lockAssociationAsWrites()
          If true acquiring a write-lock on a given object x implies write locks on all objects associated to x.
 boolean useImplicitLocking()
          defines if implicit lock acquisition is to be used.
 

Method Detail

lockAssociationAsWrites

boolean lockAssociationAsWrites()
If true acquiring a write-lock on a given object x implies write locks on all objects associated to x. If false implicit read-locks are acquired.


getOqlCollectionClass

Class getOqlCollectionClass()
This class is used to hold results of OQL queries. By default a DListImpl is used.


useImplicitLocking

boolean useImplicitLocking()
defines if implicit lock acquisition is to be used. If set to true OJB implicitely locks objects to ODMG transactions after performing OQL queries. If implicit locking is used locking objects is recursive, that is associated objects are also locked. If ImplicitLocking is set to false, no locks are obtained in OQL queries and there is also no recursive locking.



Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.