Hello I think that using cascade deletion of database is desirable. but dbo must set state of child ptr deleted.
I will look usage of other library using ruby, perl and so on. after completion I will make it public. regards On 2010-07-29 오전 5:18, Sohail Somani wrote: > On 10-07-28 3:24 PM, Koen Deforche wrote: > >> Hey Sohail, >> >> 2010/7/28 Sohail Somani<[email protected]>: >> >>>> On 10-07-28 3:42 AM, Koen Deforche wrote: >>>> >>>>>> IMO, Wt::Dbo should not automatically delete the dependent objects. >>>>>> >>>>>> >>>> FWIW, I disagree with this. Cascading deletes are important to the >>>> integrity of the data. >>>> >> But forcing integrity is a job for the database, and it seems that Wt >> should not actively try to repeat the work of the database -- what do >> you have against the database 'on delete' clause ? >> > Oh, I think we are saying the same thing then. > > What I was unclear on was what happens to existing Dbo::ptrs when you > delete though I guess they would behave like Boost's weak_ptr. > > Sorry for the confusion :D > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
