Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030476
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajorhave not tried2015-07-31 14:212015-07-31 14:24
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030476: Consolidate the user of UPPER/LOWER to achieve case insensitive filtering

DescriptionAlthough most of the times we use the UPPER function to achieve case insensitive filtering, there are a few cases where we use the LOWER function.

In some cases it is possible to define a function based index that can be used to do case insensitive filtering.

If both UPPER and LOWER are used throughout the OB codebase, it will be needed to define UPPER and LOWER function based indexes for them. For this reason it is better to use only UPPER or LOWER.
Steps To ReproduceLook in the Openbravo codebase for instances of UPPER and LOWER. You will find that UPPER instances appear almost 10x more ofthen than LOWER ones
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0030477 newTriage Platform Base Generate a query with UPPER when using the ilike operator in Hibernate 
related to defect 0030488 closedplatform API Change: Replacement of LOWER with UPPER in queries 
related to feature request 0030561 closedAugustoMauch Use UPPER to achieve case insensitive filtering in CustomQuerySelectorDatasource 

-  Notes
(0079149)
AugustoMauch (administrator)
2015-07-31 14:24

Taking into account the nowadays UPPER is used around 10 times more often than LOWER, all the instances of LOWER are going to be replaced with UPPER.

- Issue History
Date Modified Username Field Change
2015-07-31 14:21 AugustoMauch New Issue
2015-07-31 14:21 AugustoMauch Assigned To => AugustoMauch
2015-07-31 14:21 AugustoMauch Modules => Core
2015-07-31 14:21 AugustoMauch Triggers an Emergency Pack => No
2015-07-31 14:24 AugustoMauch Note Added: 0079149
2015-07-31 14:57 AugustoMauch Relationship added related to 0030477
2015-08-04 09:22 AugustoMauch Relationship added related to 0030488
2015-08-12 14:56 AugustoMauch Relationship added related to 0030561


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker