MyEclipse: JPA Reverse Engineer

balanceofpower - Jun 28, 2012 - 10:45 PM
Post subject: JPA Reverse Engineer
Please add option to allow the Field annotations to be added to the fields as opposed to the getters/setters.

e.g.
Code:

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


as opposed to being attached to the set/getters

Code:

   @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.
support-swapna - Jun 29, 2012 - 10:50 AM
Post subject:
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.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits