4 Replies Latest reply on Oct 11, 2005 5:50 AM by Gavin King

    bijection for entity beans

    Patrick Angeles Novice

      I read from the docs that @Entity components cannot take part in bijection. Is this by design, or an EJB restriction? I can see a use case for allowing bijection for entities:

      @Name ("user")
      @Scope (SESSION)
      public class User {
      @Entity (AccessType.FIELD)
      @Name ("someObject")
      public class SomeObject {
      private User user ;
      private User updater ;
      private Date updateTime ;
      public void onPreUpdate () {
       this.updater = user ;
       this.updateTime = new Date () ;