User: stevensa
  Date: 02/03/27 15:58:53

  Modified:    core/resources/xdoclet/ejb entity-body.j
  Log:
  Expanded isModified check so we don't increase soft version no. or call dao if bean 
isn't dirty
  
  Revision  Changes    Path
  1.10      +11 -14    xdoclet/core/resources/xdoclet/ejb/entity-body.j
  
  Index: entity-body.j
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/entity-body.j,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -w -r1.9 -r1.10
  --- entity-body.j     25 Mar 2002 23:18:12 -0000      1.9
  +++ entity-body.j     27 Mar 2002 23:58:53 -0000      1.10
  @@ -1,5 +1,5 @@
     <XDtEjbCmp:ifNotUsingCmp2>
  -   private boolean dirty;
  +   private boolean dirty = false;
     </XDtEjbCmp:ifNotUsingCmp2>
   
     <XDtClass:ifHasClassTag tagName="ejb:bean" paramName="ver-uid" 
superclasses="false">
  @@ -139,17 +139,13 @@
   
      public void ejbStore() <XDtMethod:exceptionList method="ejbStore"/>
      {
  -    <XDtMethod:ifHasMethod name="ejbStore">
  -     <XDtMethod:ifIsNotAbstract method="ejbStore">
         <XDtEjbCmp:ifNotUsingCmp2>
         if (isModified())
         {
         </XDtEjbCmp:ifNotUsingCmp2>
  +     <XDtMethod:ifHasMethod name="ejbStore">
  +      <XDtMethod:ifIsNotAbstract method="ejbStore">
            super.ejbStore();
  -      <XDtEjbCmp:ifNotUsingCmp2>
  -      }
  -      </XDtEjbCmp:ifNotUsingCmp2>
  -
        </XDtMethod:ifIsNotAbstract>
       </XDtMethod:ifHasMethod>
        <XDtEjbDao:ifUsingDao>
  @@ -160,6 +156,7 @@
        </XDtEjbBmp:ifUseSoftLocking>
        <XDtEjbCmp:ifNotUsingCmp2>
         makeClean();
  +      }
        </XDtEjbCmp:ifNotUsingCmp2>
      }
   
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to