finder method in container-managed entity bean

Finder method of a container entity bean is taking the primary key class object of another entity bean. How to map this in the xml descriptor file weblogic-cmp-rdbms.xml for this type of beans.

I am trying to deploy the jasmine computer store of Mastering EJB by EdRoman.

I couldn't write the deployment file weblogic-cmp-rdbms.xml for Order Entity bean which uses CustomerPK as an argument in its finder method.

Please tell me how to write this. I am trying on weblogic 5.1

Thanx in advance

Srivatsa

[552 byte] By [sriva123] at [2007-9-26 3:55:02]
# 1
Hai srivatsa,This is saravana kumar.I'm also finding the same problem.Can u please mail me at saran_min@rediffmail.com if u solved the problem.Thanks in advance,saravana
saran_min at 2007-6-29 12:44:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
i believe web logic has a GUI tool that you can use. You load your bean (or descriptor or jar not sure) into that and then it has fields you fill out, and it creates the XML for you.
6tr6tr at 2007-6-29 12:44:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
hello,in container managed persistence, you specify on your xml file the name of your table. so the primary key you want to use have to be a foreign key in your table. otherwise i don't think that you can use a container managed persistence.Najib.
najibbazza at 2007-6-29 12:44:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...