MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
balanceofpower
Post subject: JPA Reverse Engineer  PostPosted: Jun 28, 2012 - 10:45 PM
Registered Member
Registered Member


Joined: Mar 10, 2005
Posts: 286

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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jun 29, 2012 - 10:50 AM



Joined: Nov 11, 2010
Posts: 2490

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.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits