User: vharcq  
  Date: 02/06/18 14:10:14

  Modified:    samples/src/java/test/ejb CustomerBean.java
  Log:
  Linked to Bug 547633 : Inheritence of ejb:pk-field and wrong data object generation. 
 No cmplete solution exist, at least we solve the need of havinf to repeat the getId() 
in subclasses when all entity beans inherit from a base class witha "GUID" in it.
  
  Revision  Changes    Path
  1.5       +2 -12     xdoclet/samples/src/java/test/ejb/CustomerBean.java
  
  Index: CustomerBean.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/samples/src/java/test/ejb/CustomerBean.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -r1.4 -r1.5
  --- CustomerBean.java 13 Jun 2002 19:16:50 -0000      1.4
  +++ CustomerBean.java 18 Jun 2002 21:10:13 -0000      1.5
  @@ -46,6 +46,8 @@
    * @ejb:permission role-name="Teller"
    * @ejb:transaction type="Required"
    *
  + * @ejb:data-object use-super-equals="true"
  + *
    * @ejb:finder signature="Collection findAlsoInSuper()"
    *
    * @ejb:value-object name="CustomerLight" match="light"
  @@ -71,18 +73,6 @@
      extends PersonBean
   {
      private EntityContext ctx;
  -
  -   /**
  -    * Id of this person.
  -    *
  -    * @ejb:pk-field
  -    *
  -    * @ejb:persistent-field
  -    * @ejb:persistence column-name="id"
  -    *
  -    * @ejb:value-object match="*"
  -    */
  -   public abstract String getId();
   
      /**
       * Overriden from Person.
  
  
  

----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

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

Reply via email to