ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zaid <zaid.saeedi.k...@gmail.com>
Subject Foreign Key Constraint in H2
Date Wed, 01 Mar 2017 11:18:45 GMT

We can create Foreign Key Constraint in H2 between two tables. Ignite
generates H2 DB schema automatically and we don't have much control on it
(yes, we can use @QuerySqlField(index = true) to influence this schema

Is there any way to tell Ignite that two cache entities are linked with each
other using Foreign Key Constraint e.g. using some annotation so that when
we populate caches with these entities using IgniteDataStreamer, H2 DB can
do data integrity checks?


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Foreign-Key-Constraint-in-H2-tp10964.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message