This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
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).
Joined: Feb 13, 2003
Scrub that last mail. Finally figured it out. OC4J requires that certain methods be required to participate in a transaction. I added this and it worked fine. Ta x