Joined: Tue Jan 31, 2006 8:00 am Posts: 14
|
Hi All,
I would like to know your opinion on this.
I have Hibernate DAO classes. Each class has methods which will comprise of lot many input parameters.
These parameters are nothing but arguments which will be used in Criteria object or HQL.
My question is should we keep our methods verbose and have separate params. This way the method signature looks long when there are over 5 params to pass.
We were thinking of creating custom classes for encapsulating such input parameters so our method signature would hold only have instance of this class as an input param.
Let me know your thoughts on the same
|
|