Hi,
Annotations and QueryEntities are just different ways of specifying the
config.
There should be no differences in how that config is being deployed
inside Ignite.
Currently there is no way to set a table name via annotations. It
defaults to the name of the class.
see:
https://www.gridgain.com/docs/latest/developers-guide/SQL/indexes#configuring-indexes-using-annotations
https://www.gridgain.com/docs/latest/developers-guide/SQL/sql-api#querysqlfield-annotation
More info:
Query Entity based config:
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
annotation based config:
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheQueryExample.java
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/sql/SqlQueriesExample.java
If you see a difference in performance between the two configs please send
a reproducer project and I'll take a look.
Thanks, Alex
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
