You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Miroslav Lazarević <mi...@ptt.yu> on 2003/06/02 20:28:25 UTC

Re: How to prevent?

On Saturday 31 May 2003 09:35, Miroslav Lazarević wrote:
> A liitle addon. This is what I get in HSqldb properties file after removing
> user object from job.
>
> SET AUTOCOMMIT FALSE
> DELETE FROM DC_JOBS WHERE JOB=1
> INSERT INTO DC_JOBS VALUES(1,'Administrator')
> DELETE FROM DC_USERS_JOBS WHERE USERNAME='mikeai' AND JOB=1
> DELETE FROM DC_USERS WHERE USERNAME='mikeai'
> COMMIT
>
> I want to only this statement be executed in that case.
>
> DELETE FROM DC_USERS_JOBS WHERE USERNAME='mikeai' AND JOB=1

Hi guys,

can tell me anybody, am I run into OJB bug or I made some mistake which cause 
bad behavior when I remove element from object's collection?

-- 
Best regards,
Mickey		mikey@ptt.yu, mikeai@sezampro.yu