1 Reply Latest reply on Mar 13, 2004 7:17 AM by Alexey Loubyansky

    how to make caching work?

    peter Apprentice


      I am using 3.2.3. And CMP entity beans' findByPrimaryKey(String ) is used. But i found that each time when findByPrimaryKey() is called, the db is accessed. I expected that only cached data will be retrieved after the first time retrieving.

      I already set the entity bean as commit option D.

      I ready lots of documentations. But it seems just doesn't work.

      Please help.