@weblogic.transaction-isolation generating isolation-level fails? -----------------------------------------------------------------
Key: XDT-1596 URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1596 Project: XDoclet Type: Bug Components: Bea Module Versions: 1.2.3 Reporter: Ropardo AG Assigned to: xdoclet-devel (Use for new issues) We are updating an Program from ejb1.1 to ejb 2.0 using bea-weblogic. For building Home- and Remote-Interfaces we use xDoclet (which by the way is great). But at the moment I am trying to get it right generating an Session-Bean with the @weblogic.transaction-isolation - Tag. It seems to fail generating the isolation-level-Information for the weblogic-ejb-jar.xml descriptor. Perhaps I just use it in an wrong way? Here goes my Code: <code> /** * @ejb.bean name="SomeSession" * jndi-name="SomeSession" * type="Stateless" * view-type="remote" * * @ejb.transaction type="Required" * * @weblogic.enable-call-by-reference True */ public class SomeSessionBean implements SessionBean { /** * @ejb.create-method */ public void ejbCreate() throws CreateException, EJBException, RemoteException { // Write your code here } [...] /** * @ejb.interface-method * @weblogic.transaction-isolation isolation-level="TRANSACTION_READ_COMMITTED_FOR_UPDATE" */ public void doSomething(Object someParam){ // do some stuff... } } </code> This is what xdoclet generates as the weblogic-ejb-jar.xml Descriptor: <snip weblogic-ejb-jar.xml> [...] <transaction-isolation> <isolation-level></isolation-level> <method> <description><![CDATA[]]></description> <ejb-name>SomeSession</ejb-name> <method-intf>Remote</method-intf> <method-name>doSomething</method-name> <method-params> <method-param>java.lang.Object</method-param> </method-params> </method> </transaction-isolation> [...] </snip weblogic-ejb-jar.xml> I also tried it those ways: * @weblogic.transaction-isolation TRANSACTION_READ_COMMITTED_FOR_UPDATE * @weblogic.transaction-isolation "TRANSACTION_READ_COMMITTED_FOR_UPDATE" * @weblogic.transaction-isolation="TRANSACTION_READ_COMMITTED_FOR_UPDATE" * @weblogic.transaction-isolation level="TRANSACTION_READ_COMMITTED_FOR_UPDATE" but always the same result... Thanks in advance, Stephan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel