brianchandotcom/liferay-portal — pull request #3649 by matethurzo (2012-01-09 10:18:16+00:00)
Title: LPS-24640

servlet context name select doesn't work properly with case sensitive database

Hi Brian,

This bug is a classic lower case/upper case matching problem: when the hook's servlet context is being inserted into the release_ table is contains both lower and upper case letters, but before the portal queries that table based on the servlet context it makes it lower case first.

With Kálmán we were thinking of that the best would be if the portal could query that record in a case insensitive way no matter how the servlet context has been inserted. This is not just application server independent solution but also when someone upgrades it will remain consistent with the already existing data in the user's database.

Máté