1 Reply Latest reply on Mar 11, 2003 1:14 PM by Tarek Hammoud

    findByPrimaryKey does not use cache ?

    Tarek Hammoud Novice

      Calling findByPrimaryKey twice in a row from a session bean on a local entity bean with the same primary key fires two SQL's. We are using the default container config.

      Is is normal ? You would think that withing the same transaction, the container caches the instance. We are using 3.2RC3.

      Tarek Hammoud