This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1110277] RHQ_EVENT table's detail field limit of 4000 character will…
… break when a log message contains multibyte characters (UTF-8) This is a problem in a few places, not just events. We're not properly protecting against the 4000 byte limit on oracle, just the 4000 character limit declared on the varchar2 field. - Add DatabaseType.getString() which can truncate as needed in a vendor-specific way. - Use the new getString() to store safe versions of event detail, alert notification log message, and calltime dataset destination. Conflicts: modules/core/dbutils/src/main/java/org/rhq/core/db/DatabaseType.java modules/core/dbutils/src/main/java/org/rhq/core/db/OracleDatabaseType.java modules/core/domain/src/main/java/org/rhq/core/domain/resource/Resource.java modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java Cherry-Pick master 1d836a7 (cherry picked from relese/jon3.2.x commit 6a5f14b) Conflicts: modules/core/dbutils/src/main/java/org/rhq/core/db/DatabaseType.java modules/core/dbutils/src/main/java/org/rhq/core/db/OracleDatabaseType.java modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java
- Loading branch information
Showing
8 changed files
with
158 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters