Title: Entities are not cached

  According to debug-level log messages, each time I find entities with a finder and then invoke business methods they are loaded. Even if less than a second passed since previous load. Seems like caching is disabled at all. I have no custom container configurations, all my entities are described in jboss.xml like the following:

    <entity>
      <ejb-name>Slide</ejb-name>
      <jndi-name>ejb/xxx/Slide</jndi-name>
      <local-jndi-name>ejb/xxx/SlideLocal</local-jndi-name>
    </entity>
...

Can anybody tell me why are not they cached?

Best wishes,
  Alexei Yudichev   mailto:[EMAIL PROTECTED]

Reply via email to