geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu T George (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-2808) Multiple calls to FindByPK methods in same transaction failing
Date Wed, 07 Feb 2007 10:55:05 GMT
Multiple calls to FindByPK methods in same transaction failing
--------------------------------------------------------------

                 Key: GERONIMO-2808
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2808
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: OpenEJB
    Affects Versions: 1.1.1
         Environment: All
            Reporter: Manu T George


The following pseudo-code is not working:

RepRepresentativeLocalHome home =
(RepRepresentativeLocalHome)retrieveHome(RepresentativeInterface.EJB_HOME);
RepRepresentativeKey pK = new RepRepresentativeKey(obj.getRepid());
home.findByPrimaryKey(pK);
home.findByPrimaryKey(pK);

The second findByPrimaryKey() call always fails with FieldTransformException
exception. 

This seems to be due to a problem in the TranQL Transaction Cache

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message