Hi all, I have an application I have migrated from EJb 1.1/Weblogic 7 to EJB 2.0/Weblogic 8.1. I have two CMP EB's, Customer and Person. The Customer has a FK relationship (in the database) to Person (the Customer table has a person_id column), so the Person EJB must be committed first when creating a customer. Under the previos installation, this worked fine. Now, sometimes it works, and sometimes not. When it does not, I am getting a FK constraint violation error telling me that (when inserting the Customer) that the Person does not exist. I am not sure if this is a mistake on the ejb-jar DD or one of the WLS DD's. I can put up a snipit if it will help. Thought someone might have a suggestion of where to begin looking for my mistake. Thanks for any help.
Hi, did build the relationship under ejbPostCreate method? It would be easyer to help if u could post the error message and a fragment of the client code wich calls the create methods(problably under some java class or session facade). regards.
I'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad: