[Opensource] Connection error when adding

Michael Rimov rimovm at centercomp.com
Fri Nov 15 14:46:21 PST 2002


At 11:40 PM 11/14/2002 -0800, you wrote:
>Hi,
>When adding two different DBObject object with add(),
>there is an exception that indicates that an sql
>statement in the second add operation could not be
>established. it is like that:
>
>DBConnection conn=...
>conn.setAutoCommit(true);
>
>A a=new A(conn);
>a.set...
>a.add();// this works.
>
>B b=new B(conn);
>b.set...
>b.add();// it does not work
>
>conn.commit();
>
>What kind of problem may be happen?
>Thanks...

Are you using 5.0.1?  I fixed an error with 5.0 that was very similar to 
what you're describing.

HTH,
                                         -Mike





More information about the Opensource mailing list