Bugs item #470204, was opened at 2001-10-11 05:17
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=470204&group_id=22866

Category: JBossServer
Group: None
Status: Closed
Resolution: Rejected
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Andreas Schaefer (schaefera)
Summary: container transaction configuration

Initial Comment:
according to the spec (EJB 2.0 21.3.2) 
a trans-attribute setting whith out spcified method 
params should refer to all methods with this name.
But im jBoss it refers only to the method without 
parameter.

Example:
method - boolean hasRole(Sting roleName)

This should work:
<container-transaction>
<method>
        <ejb-name>PersonEJB</ejb-name>
       <method-name>hasRole</method-name>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>

but only this work indeed: 
<container-transaction>
<method>
        <ejb-name>PersonEJB</ejb-name>
       <method-name>hasRole</method-name>
           <method-params>
           <method-params>java.lang.String</method-
params>
           </method-params>
           </method>
      <trans-attribute>RequiresNew</trans-attribute>
</container-transaction>


We use jBoss 2.4.0_23  

----------------------------------------------------------------------

>Comment By: Andreas Schaefer (schaefera)
Date: 2001-11-10 21:10

Message:
Logged In: YES 
user_id=70434

Beside the fact that the given examples are both not 
correct examples I could not reproduce the problem. I need 
more information about the EJB, the DD and what is the 
result.

Andy

----------------------------------------------------------------------

Comment By: Andreas Schaefer (schaefera)
Date: 2001-11-10 17:39

Message:
Logged In: YES 
user_id=70434

Beside the fact that the given examples are both not 
correct examples I could not reproduce the problem. I need 
more information about the EJB, the DD and what is the 
result.

Andy

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=470204&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to