aresthelord / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

Generify search and searchUnique return signatures #87

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Let the caller determine the result type without having to cast.

<X> List<X>search(...)

<X> X searchUnique(...)

Original issue reported on code.google.com by dwolvert on 1 Mar 2011 at 3:45

GoogleCodeExporter commented 9 years ago

Original comment by dwolvert on 2 Oct 2011 at 12:03

GoogleCodeExporter commented 9 years ago
This seems already to have happened for GenericDAO. But GeneralDAO and 
SearchFacade don't yet have this.

Original comment by dwolvert on 9 Oct 2011 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by dwolvert on 15 Feb 2013 at 1:56