On Dec 9, 2010, at 3:56 PM, Sibylle Koczian wrote:

> I'm using SQLite 3.7 which _can_ enforce foreign keys constraints but 
> wants to be explicitly asked to do so, by issuing the statement
> "PRAGMA foreign keys = ON".
> This has to happen in the application, at runtime, not within a 
> transaction. What's the right place for that in a Dabo application?


        I would try in your primary bizobj's afterInit(); just add the call:

self.executeSafe("PRAGMA foreign keys = ON")

        If that doesn't work, let me know and we'll dig deeper.



-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to