Bug 1024864

Summary: [GSS] (6.1.1 patch) HHH-8643 - java.util.Calendar conversion to java.util.Date fails
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Gary Hu <ghu>
Component: HibernateAssignee: Brett Meyer <brmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: high    
Version: 6.1.1CC: cobrien, jawilson, rsvoboda, theute
Target Milestone: ---   
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
PATCH NAME: BZ-1024864 PRODUCT NAME: JBoss Enterprise Application Platform VERSION: 6.1.1 SHORT DESCRIPTION: HHH-8643 https://hibernate.atlassian.net/browse/HHH-8643 java.util.Calendar conversion to java.util.Date fails LONG DESCRIPTION: HHH-8643 https://hibernate.atlassian.net/browse/HHH-8643 java.util.Calendar conversion to java.util.Date fails java.util.Calendar and java.util.Date should both be accepted as parameters on Queries, regardless of the TemporalType used. MANUAL INSTALL INSTRUCTIONS: Backup and remove the following files: $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-entitymanager-4.2.0.SP1-redhat-1.jar $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml Extract the patched files by either: Using unzip: unzip -d $JBOSS_HOME/ bz-1024864.zip Or by extracting the files from the zip to the following locations: $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-entitymanager-4.2.0.SP1-redhat-1-bz-1024864.jar $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml Instructions to uninstall: Restore the following files that were backed up before the patch was installed: $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-entitymanager-4.2.0.SP1-redhat-1.jar $JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml COMPATIBILITY: DEPENDENCIES: JBoss Enterprise Application Platform 6.1.1 SUPERSEDES: SUPERSEDED BY: CREATOR: Brett Meyer DATE: 30 October 2013
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-02 17:52:05 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1023994    
Bug Blocks:    
Attachments:
Description Flags
patched Hibernate module none

Description Gary Hu 2013-10-30 14:16:16 UTC
This is an one-off patch for bug 1023994. 

Please check the details in bug 1023994 and https://hibernate.atlassian.net/browse/HHH-8643.

Comment 1 Brett Meyer 2013-10-30 16:59:09 UTC
Created attachment 817521 [details]
patched Hibernate module

Comment 2 Gary Hu 2013-11-05 15:54:17 UTC
Our customer has verified that the patch solve their issue.

Comment 3 Gary Hu 2013-11-19 16:16:04 UTC
Hi Martin,

Any update on the QA process?  Our customer has verified that the patch solve their original issue. I think we just need to focus on testing if it brings any regression or not.

Comment 4 Martin Simka 2013-11-19 17:59:39 UTC
For now I have results only from AS test suite, it's without regressions. I'm waiting for results of hibernate test suite. I should have them tomorrow morning. I will update this BZ when I evaluate them. Our testing environment is under high load in these days.

Comment 5 Martin Simka 2013-11-21 13:29:25 UTC
Finally I've got results from hibernate test suite.

AS test suite is without regression
hibernate test suite is without regression

QA passed

md5sum of tested files:
634a6067e794fe55bd4f1a842bf6ed67  BZ1024864.zip
d37222f51df9be4f53cc6582bed825c4  bz-1024864.zip
9fa8801cd5c60325e40060d2bb867f20  hibernate-entitymanager-4.2.0.SP1-redhat-1-bz-1024864.jar
e955e307c121cea64bab610661809191  module.xml