facebook

JPA Reverse Engineer

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #327708 Reply

    Tony Herstell
    Participant

    Please add option to allow the Field annotations to be added to the fields as opposed to the getters/setters.

    e.g.

    
        @Column(name = "expiry_days", nullable = false)
        private Integer expiryDays;
    

    as opposed to being attached to the set/getters

    
       @Column(name = "expiry_days", nullable = false)
       public Integer getExpiryDays() {
            return this.expiryDays;
        }
    

    Its likely that get/setters will disappear as its boilerplate code anyhow (unless you want to override it)… so makes sense to add it to the field.

    #327734 Reply

    support-swapna
    Moderator

    balanceofpower,

    I have filed an enhancement request with the dev team for the same. Thank you.
    Do let us know if you have any issues.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JPA Reverse Engineer

You must be logged in to post in the forum log in