JPA native query second level cache -
i need use second level cache native sql using jpa. not finding way it. if jpa supports native query cache, can suggest way
the jpa l2 cache designed entities. if haven't got firstly, pointless using jpa, , secondly, if have entities native query not return them, nothing cacheable.
obviously may find implementation allow amount of caching of information in l2 cache native (sql) queries, not using jpa specification standard, , instead using vendor specifics (which stop working if ever changed jpa provider)
Comments
Post a Comment