Do you mean "PRAGMA FOREIGN_KEYS" ? (Not FOREIGN_KEY) https://www.sqlite.org/pragma.html#pragma_foreign_keys
On Tue, May 24, 2016 at 6:33 AM, Jérémy MARQUER <[email protected]> wrote: > I can't get working foreign key with sqlite. I mean "PRAGMA FOREIGN_KEY;" > always return "0" even if I execute "PRAGMA FOREIGN_KEY = ON". > > It seems to be problematic since I can't delete object on cascade. > > Please help me ! > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA > Desktop OS > Simulator > Device > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at > https://groups.google.com/group/codenameone-discussions. > To view this discussion on the web visit > https://groups.google.com/d/msgid/codenameone-discussions/463033e1-469f-4fae-9ede-26014bfe3a79%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/463033e1-469f-4fae-9ede-26014bfe3a79%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Software Developer Codename One http://www.codenameone.com -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKVKOG2_-YJ%2BNDigMtqiw5v47%3D%2BgAsS-cHWdzguKj%3DDjpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
