5 Replies Latest reply on Apr 1, 2009 3:12 PM by dsailer.d.sailer.comcast.net

    JpaPermissionStore generates lots of sql requests

    vincent.crepin

      Hello everyone.


      I used the jpaidentitystore and the jpapermissionstore as described in the documentation (Chapter 15 Security).


      Everything works fine except that I noticed that there are many many sql requests that are generated. They all point to the table that contains the permissions.


      When I say many, I mean that to show a list for which only 2 calls are instrumented with the annotation @Read(MyEntity.class), there are about 800 sql requests that are generated.


      Anyone has experimented that ?


      Thanks in advance.