Re: Problems while accessing Synchronized method.
- From: "Arnaud B." <toto@xxxxxxxx>
- Date: Tue, 31 Jan 2006 11:18:21 +0100
Hi,
Your method is not synchronized, it just has "synchronize" as its name !
You probably meant public synchronized void myMethod(){}
Cheers,
Arnaud
<gandhi.pathik@xxxxxxxxx> a écrit dans le message de
news:1138700978.821070.64520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi, everyone..
>
> Right now i am doing one application in which i am calling one method
> which is synchronized.
>
> ( method signature is like public void synchronize(){}
>
> in that method body i am calling two stored procedures
>
> in First Strored procedure i am inserting data into database ,,--table1
> in Second Strored procedure also i am inserting data into database
> ,--table2,
>
> table1 has primary key called auctionid
> where as auctionid is the foreing key of table2
>
>
> when i am calling this method this method says that foreing key
> conflicts..
>
> i don't know why this is happening..
>
>
> my database is MsSql
> please give me solution
>
> Thanks and Regards,
> pathik gandhi
>
.
- Follow-Ups:
- Re: Problems while accessing Synchronized method.
- From: gandhi.pathik@xxxxxxxxx
- Re: Problems while accessing Synchronized method.
- References:
- Problems while accessing Synchronized method.
- From: gandhi.pathik@xxxxxxxxx
- Problems while accessing Synchronized method.
- Prev by Date: Re: How to byte[ ] --> char[ ] and char[ ] --> byte[ ]?
- Next by Date: Re: Java questions: Urgent
- Previous by thread: Problems while accessing Synchronized method.
- Next by thread: Re: Problems while accessing Synchronized method.
- Index(es):
Relevant Pages
|