Re: [CDBI] Re: delete on table with multiple pks

[prev] [thread] [next] [Date index for 2005/11/25]

From: Kingsley Kerce
Subject: Re: [CDBI] Re: delete on table with multiple pks
Date: 23:18 on 25 Nov 2005
Jim -- You might try enabling DBI trace (search for "trace" and
"tracing" in `perldoc DBI').  Another approach is to run your code in
the Perl debugger, step into the delete call and Class::DBI's
internals, and see what's happening.

Kings

Jim Salladin writes:
 > Is there some more code can I provide to make this issue more
 > accessible for help?
 > 
 > Thanks.
 > 
 > On 11/24/05, Jim Salladin <jsalladin@xxxxx.xxx> wrote:
 > > Hi all,
 > >
 > > I could not find some info in the docs. I just want to delete an
 > > object that is instantiated with a hash of two primary keys. I tried
 > > this:
 > > TableClass->retrieve(%pks)->delete;
 > >
 > > The error I get is this:
 > > Can't delete 1/3: DBD::Oracle::st execute failed: called with 1 bind
 > > variables when 2 are needed.
 > >
 > > The retrieve is working fine, but the delete is not. Any hints to what I can do?
 > >
 > > Thanks!


_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

(message missing)

[CDBI] delete on table with multiple pks
Jim Salladin 06:02 on 25 Nov 2005

[CDBI] Re: delete on table with multiple pks
Jim Salladin 23:09 on 25 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Kingsley Kerce 23:18 on 25 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
William Ross 00:29 on 27 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Matt S Trout 02:49 on 27 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Peter Speltz 05:47 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Matt S Trout 15:06 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Perrin Harkins 15:33 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Jim Salladin 05:18 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Kingsley Kerce 05:45 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
William Ross 08:24 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Jim Salladin 17:12 on 30 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Peter Speltz 16:57 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Perrin Harkins 17:18 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Matt S Trout 18:35 on 28 Nov 2005

[CDBI] Re: delete on table with multiple pks
Edward J. Sabol 21:00 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Peter Speltz 22:29 on 28 Nov 2005

Re: [CDBI] Re: delete on table with multiple pks
Perrin Harkins 22:40 on 28 Nov 2005

Generated at 14:52 on 01 Dec 2005 by mariachi v0.52