unable to return a correct value

hello ppl,

i am relatively new to ejb. i am developing an entity bean.

in the findbyprimarykey method i am incrementing a counter.

i have written a function which returns the value of this conter. this is a remote method.

but i am unable to get the correct value of the counter.

pls help.

mail me at supriya_phadke@hotmail.com.

thank you in advance.

...supriya

[426 byte] By [supriya_phadke] at [2007-9-26 2:07:20]
# 1
hi,the findByPrimaryKey() method will fire internally sometimes whent eh other finder methods are also called.so it will not return the correct counter. regards srini
vams00 at 2007-6-29 8:54:32 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...