1 Reply Latest reply on Apr 8, 2002 1:02 PM by slaboure

    caching entity beans upon jboss startup?

    newfie

      Hi,
      I want to be able to just call home.findByPrimaryKey()
      upon server startup and not home.create() followed by
      home.findByPrimaryKey(). How can this be done?

      Thanks for all your help!!!

        • 1. Re: caching entity beans upon jboss startup?
          slaboure

          If your beans are stored in your database, then when you start JBoss, you can directly make home.findByPrimaryKey to find them! Create needs only to be called to create new entities, not to cache existing one. Caching is completely transparent and, as a bean developer/user, you should not even think about it.

          Hopefuly, I didn't correctly understand your question ;)

          Cheers,


          Sacha