Closed GoogleCodeExporter closed 9 years ago
And the host app should be responsible for the database object it exposes to
the script so there should also be an OnDisconnect event so that the host knows
that the script has finished with it and can free (it in case the host itself
doesn't need it for other connections).
Original comment by ain.val...@gmail.com
on 31 May 2013 at 3:34
Made the UIB driver subclassing friendly.
So you can just subclass it, and provide your own factory, where you can pass
existing objects and assign them.
If you call the inherited constructor, it'll create the transaction if not
already defined. Be sure to override the destructor and nil the DB if you don't
want it freed. (same for the transaction if you want it created externally).
Original comment by zar...@gmail.com
on 5 Jun 2013 at 6:52
Original issue reported on code.google.com by
ain.val...@gmail.com
on 31 May 2013 at 3:22