While trying to make a trasaction with database i am getting  
TransactionRolledbackException in JBoss console.The database is mySQL.and the platform 
is Linux.

I'm giving container transaction attribute in ejb-jar.xml as below
<container-transaction>
                
                        <ejb-name>StationaryIndentMaster</ejb-name>
                        <method-intf>Remote</method-intf>
                        <method-name>*</method-name>
                
                <trans-attribute>Never</trans-attribute>
</container-transaction>

will it work if I change "Never" to "Required" or is there any other way to rectify 
this problem

Thanking you..

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833463#3833463

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833463


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to