saperliu / hibernate-generic-dao

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

Option to ignore case on sorts #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add an option on sort whether or not to ignore case when sorting. Use a 
sensible default.

Original issue reported on code.google.com by dwolvert on 26 Dec 2008 at 4:08

GoogleCodeExporter commented 9 years ago
Perhaps we should default to not ignoring case because SQL does. On the other 
hand, 
the most frequent use-case is to ignore case.

Another thing... When implementing, make sure we're dealing with a string type 
before 
slapping on a lowercase() function.

Original comment by dwolvert on 2 Jan 2009 at 3:30

GoogleCodeExporter commented 9 years ago
The ignore case flag was implemented for sorts. The default is not to ignore 
case. 
This will be available in 0.4.1.

Original comment by dwolvert on 5 Jan 2009 at 3:54