db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util BrokerHelper.java
Date Wed, 02 Jul 2003 19:09:42 GMT
brj         2003/07/02 12:09:41

  Modified:    src/java/org/apache/ojb/broker/util BrokerHelper.java
  Log:
  use FieldConversion for proxies
  
  Revision  Changes    Path
  1.24      +3 -3      db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java
  
  Index: BrokerHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- BrokerHelper.java	23 Apr 2003 20:48:16 -0000	1.23
  +++ BrokerHelper.java	2 Jul 2003 19:09:41 -0000	1.24
  @@ -201,13 +201,13 @@
   		{
   			IndirectionHandler handler;
   			handler = (IndirectionHandler) Proxy.getInvocationHandler((Proxy) objectOrProxy);
  -			return handler.getIdentity().getPrimaryKeyValues();
  +			return getKeyValues(cld, handler.getIdentity(), convertToSql);  //BRJ: convert Identity
   		}
   		else if (objectOrProxy instanceof VirtualProxy)
   		{
   			IndirectionHandler handler;
   			handler = (IndirectionHandler) VirtualProxy.getIndirectionHandler((VirtualProxy) objectOrProxy);
  -			return handler.getIdentity().getPrimaryKeyValues();
  +            return getKeyValues(cld, handler.getIdentity(), convertToSql);  //BRJ: convert
Identity
   		}
   		else
   		{
  
  
  

Mime
View raw message