posted 20 years ago
Hiya
I'm trying to deploy a CMR M:M using OC4J 9.0.3 and a mySql database. I have a Sessin Facade UserManager bean that controlls access to a User bean, a UserInfo bean, and a Role bean. The User bean and a UserInfo bean are using CMR in a 1:1 relationship. This worked fine. Then I added a Role bean in a M:N relationship with the User bean. That works okay apart from one of the methods where I add a Role to the User. Trying this produces the following exception:
java.lang.IllegalStateException: getEJBObject not allowed or not successful
I have tried all sorts, and its day 3 now, so I'm beginning to get extremely tired of chasing down this error. Has anyone got M:N (or 1:N) relationships working with OC4J (I am not using JDeveloper).