title: 2nd level cache invalidation with native queries
body: <p>I have an application that uses 2nd level cache on a JBoss AS 7 installation (Infinispan 2nd level cache provider).<br>
  We have some update JPQL Queries that invalidate the cache- I wonder what will be the effect if we include some native SQL queries in our application. Will the Query cache be invalidated ? <br/>
  Also I remember using the sqlQuery.addSynchronizedQuerySpace("") instruction on Hibernate to prevent cache invalidation for some native SQL queries. Is it possible to do it also with JPA ? <br/>
  Thanks!</p>