0 Replies Latest reply on Oct 15, 2004 9:24 AM by paulsmith001

    Is the data for entity beans held in the cache?

    paulsmith001


      Jboss 3.0.6.

      The instance cache size for the standard entity container is set to a size of 1000000 as a default. The instance pool size has a default size of 100.

      If I create 1000 entities say (where none previously existed on the database) and do nothing with them, then they are put in the cache, right? After a time-out, they will passivate and 100 beans will be disassociated from their EJB Object and returned to the pool.
      Does the cache still contain the data for the 1000 entities?

      It seems as though the cache may contain a very large number of entities at any one time. Does it really, by default, contain the data for up to 1 million entities?

      Thanks,
      Paul