The dialect for Apache Ignite needs the feature. Apache Ignite have 3 types of SQL queries. 1) local queries. it is queries that performed in one local node ( [local queries|https://apacheignite.readme.io/v2.1/docs/local-queries] ) 2) queries that performed in cluster and filter one cache (entity) 3) queries with distributed join. It is queries that performed in cluster and filter many caches (entities) ([distributed-joins|https://apacheignite.readme.io/v2.1/docs/sql-queries#distributed-joins]) In this way, developer need to have possibility to select required type of query. I offer do it by using query hints.
Example:
{code:java} Query query = em.createQuery( "select p from Person p where p.name=\"Ivan\"" ); query.setHint("org.hibernate.ignite.localquery",true); {code}
|
|