Description of problem: https://hibernate.atlassian.net/browse/HHH-8310
Sorry for the delay, I just found out about this on Friday. We are discussing this on hibernate-dev mailing list. I'll add a comment when we come to a conclusion.
The conclusion is that the suggestion in HHH-8310 will work. The same problem affects BlobProxy, ClobProxy, NClobProxy, ResultSetWrapperProxy, SerializableBlobProxy, and SerializableClobProxy.
This will be fixed in 6.3.1.
I am not changing ResultSetWrapperProxy, since it generates a proxy with interface ResultSet (i.e. it is not a Hibernate interface).
If this is fixed in 6.3.1 shouldn't it be fixed in 6.4.0?
Fixed for EAP 6.4.0
Fixed by Hibernate 4.2.16.Final upgrade https://bugzilla.redhat.com/show_bug.cgi?id=1121629
verified on EAP 6.4.0.DR11 / Hibernate 4.2.16