db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core PersistenceBrokerBean.java
Date Tue, 06 Jul 2004 10:01:17 GMT
arminw      2004/07/06 03:01:17

  Modified:    src/java/org/apache/ojb/broker/core
                        PersistenceBrokerBean.java
  Log:
  add first version of new service.
  IdentityFactory supports building of Identity objects and make
  findByPrimaryKey calls much easier
  
  Revision  Changes    Path
  1.7       +6 -0      db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java
  
  Index: PersistenceBrokerBean.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerBean.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PersistenceBrokerBean.java	4 Apr 2004 23:53:33 -0000	1.6
  +++ PersistenceBrokerBean.java	6 Jul 2004 10:01:17 -0000	1.7
  @@ -28,6 +28,7 @@
   import org.apache.ojb.broker.TransactionAbortedException;
   import org.apache.ojb.broker.TransactionInProgressException;
   import org.apache.ojb.broker.TransactionNotInProgressException;
  +import org.apache.ojb.broker.IdentityFactory;
   import org.apache.ojb.broker.accesslayer.ConnectionManagerIF;
   import org.apache.ojb.broker.accesslayer.JdbcAccess;
   import org.apache.ojb.broker.accesslayer.StatementManagerIF;
  @@ -391,6 +392,11 @@
   	{
   		return getBroker().serviceObjectCache();
   	}
  +
  +    public IdentityFactory serviceIdentity()
  +    {
  +        return getBroker().serviceIdentity();
  +    }
   
   	public void fireBrokerEvent(PersistenceBrokerEvent event)
   	{
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message