�I have a method in my entity bean that calls a stored procedure. Now this stored procedure fails when run in a transaction context, but works fine otherwise.Hence I want to restrict this ejb method from participating in any transaction,. Though the ejb has container managed transaction�?Is it possible. I tried out using �never� for that method in ejb-jar.xml,�but still that method gets associated with a transaction context and the stored procedure throws error?? How can I avoid this.Any pointers will be appreciated.?
posted 12 years ago
Use NotSupported for that method.
Howard Kushner<br />IBM Certified Enterprise Developer - WebSphere Studio Application Developer V5.0<br />IBM Certified Advanced System Administrator - WebSphere Application Server V5.0<br />IBM Certified Solution Developer - Web Services with WebSphere Studio V5.1<br /><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1931182108/" target="_blank" rel="nofollow">Developing J2EE Applications with WebSphere Studio</a> my Certification Study Guide for IBM Test 287