2 Replies Latest reply on Jun 12, 2009 8:38 AM by philip142au.philip_andrew.hotmail.com

    seam generate-entities how to annotate variables, not methods?

    philip142au.philip_andrew.hotmail.com

      Hi,


      Does anyone know how to make seam generate-entities annotate the variables and not the methods when I reverse engineer from my mysql database.


      I want the annotation to be on the member variable in the class like this, but it doesn't make it like this.



      @ManyToOne(fetch = FetchType.LAZY)
      @JoinColumn(name = "caldav_server_id")
      private CaldavServer caldavServer;
      



      Any help greatly appreciated,


      Thanks, Philip