0 Replies Latest reply on Mar 3, 2008 4:53 AM by ziphyre

    field vs property based persistence

    ziphyre

      Hi,

      Is it possible to use property based persistence while annotating private fields?
      Something like:

      @Entity
      public class Foo {
      
       @Id @GeneratedValue
       private Long id;
      
       ....
      
       public Long getId() { ... }
       public void setId() { ... }
      }


      Thanks