PATCH NAME:
bz-974474
PRODUCT NAME:
JBoss Enterprise Application Platform
VERSION:
6.1.0
SHORT DESCRIPTION:
6.1.0 Support Patch for HHH-6813
LONG DESCRIPTION:
6.1.0 Support Patch for HHH-6813
@Id @OneToOne cause NullPointerException during query
https://hibernate.atlassian.net/browse/HHH-6813
MANUAL INSTALL INSTRUCTIONS:
Backup and remove the following files:
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-core-4.2.0.Final-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-974474
Or by extracting the files from the zip to the following locations:
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-core-4.2.0.Final-redhat-1-bz-974474.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-core-4.2.0.Final-redhat-1.jar
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml
COMPATIBILITY:
None
DEPENDENCIES:
JBoss Enterprise Application Platform 6.1.0
SUPERSEDES:
None
SUPERSEDED BY:
JBoss EAP 6.2.0
CREATOR:
Brett Meyer
DATE:
14 June 2013
According last change in one-off patches procedure attached ZIP must include README file with patching instructions. Could you please add README to zip.
Patching instructons:
correct path to files is
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-core-4.2.0.Final-redhat-1.jar
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/hibernate-core_BZ-974474_4.2.0.Final.jar
$JBOSS_HOME/modules/system/layers/base/org/hibernate/main/module.xml
please update directory structure inside zip
Patch:
I'm not able to deploy test application to patched eap. I'm getting:
NoClassDefFoundError: org/hibernate/internal/util/ClassLoaderHelper
this class isn't present in jar
jar seems incomplete
msimka@msimka-t520:/tmp$ jar tf hibernate-core-4.2.0.Final-redhat-1.jar | wc -l
3182
msimka@msimka-t520:/tmp$ jar tf hibernate-core_BZ-974474_4.2.0.Final.jar | wc -l
3072
Created attachment 770536[details]
patched hibernate module
Rebuilt the patched module with requested changes. Confirmed ClassLoaderHelper is in the jar -- not sure what happened with the previous build.
EAP test suite is without regression
Hibernate test suite is without regression
Issue was verified using reproducer supplied by customer
QA passed
MD5 sum for the tested file:
c5ef17c734e180dabea2aa2db0ed12ee hibernate-core-4.2.0.Final-redhat-1-bz-974474.jar
0e9cdb5b02b184fd1c063317031a6d12 module.xml
Comment 13Christopher O'Brien
2013-07-25 20:03:38 UTC