Hi,

No, do integrity checks at the application level.

Sergi

2017-03-01 14:18 GMT+03:00 zaid <[email protected]>:

> Hi,
>
> 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
> generation).
>
> 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?
>
> Thanks,
> Zaid
>
>
>
> --
> 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.
>

Reply via email to