Thanks for the suggestion.
Do you mean that sql2java should detect fields marked as unique and provide a loadbyX for them or should we add a loadbyX for each field even if the are not really unique ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found very usefull to add a method that implements a load by unique field.
So if for example there is an email field defined in the db i have the correspondent method
MyBean loadByEmail(String email)
How do you see this feature included by defualt in sql2java???
Thanks for the suggestion.
Do you mean that sql2java should detect fields marked as unique and provide a loadbyX for them or should we add a loadbyX for each field even if the are not really unique ?
The first one. sql2java should detect the unique fields and provide a loadByX method