Bug 1073118

Summary: [GSS] (6.2.x) HHH-3482: UnsupportedOperationException with StatelessSession
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brett Meyer <brmeyer>
Component: HibernateAssignee: Brett Meyer <brmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: Zbyněk Roubalík <zroubali>
Severity: medium Docs Contact: Lucas Costi <lcosti>
Priority: unspecified    
Version: 6.2.0CC: bmaxwell, lcosti, msimka, rdickens, sfikes, theute
Target Milestone: CR2   
Target Release: EAP 6.2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Instances of an `UnsupportedOperationError` error message being thrown when using StatelessSession and saving a ManyToOne have been addressed in this release of JBoss EAP 6. The error was caused by a call to `getTimestamp()` method which was not implemented for StatelessSession. This method has since been implemented and as a result, the `UnsupportedOperationError` error message no longer occurs.
Story Points: ---
Clone Of: 1073076 Environment:
Last Closed: 2014-06-09 12:48:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1073076    
Bug Blocks: 1067532, 1073018, 1073094    

Description Brett Meyer 2014-03-05 19:47:43 UTC
+++ This bug was initially created as a clone of Bug #1073076 +++

+++ This bug was initially created as a clone of Bug #1073018 +++

How reproducible:
Consistently

Steps to Reproduce:
1. Enable 2nd level caching
2. Run the original HHH-3482 testcode against Hibernate 4.2.7.SP1

Actual results:
java.lang.UnsupportedOperationException

Comment 2 Martin Simka 2014-05-12 13:07:12 UTC
Although introduced performance regression which is tracked under BZ#1094756, verified on EAP 6.2.3.CP.CR2.