Graniteds support for hibernate 5

61 views
Skip to first unread message

Adam Lee

unread,
Mar 4, 2016, 5:55:09 PM3/4/16
to Granite Data Services Forum
Will there be a version of granitds to support hibernate 5? Hibernate 5 has removed JavassistLazyInitializer.getProxyFactory so org.granite.hibernate4.ProxyFactory fails. I looked for updated versions of granite-hibernate that would support hibernate 5, but there is nothing.

Here's a portion of the stack trace:
Caused by: java.lang.RuntimeException: Could not instantiate object: {}
at org.granite.messaging.amf.io.AMF3Deserializer.readAMF3Object(AMF3Deserializer.java:547)
at org.granite.messaging.amf.io.AMF3Deserializer.readObject(AMF3Deserializer.java:129)
at org.granite.messaging.amf.io.AMF3Deserializer.readObject(AMF3Deserializer.java:91)
... 86 more
Caused by: org.granite.messaging.service.ServiceException
at org.granite.hibernate4.ProxyFactory.<init>(ProxyFactory.java:93)
at org.granite.hibernate4.HibernateProxyInstantiator.newProxyFactory(HibernateProxyInstantiator.java:80)
at org.granite.hibernate4.HibernateProxyInstantiator.newInstance(HibernateProxyInstantiator.java:70)
at org.granite.hibernate4.HibernateProxyInstantiator.newInstance(HibernateProxyInstantiator.java:1)
at org.granite.messaging.amf.io.util.instantiator.AbstractInstantiator.resolve(AbstractInstantiator.java:50)
at org.granite.messaging.amf.io.AMF3Deserializer.readAMF3Object(AMF3Deserializer.java:545)
... 88 more
Caused by: java.lang.NoSuchMethodException: org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxyFactory(java.lang.Class, [Ljava.lang.Class;)
at java.lang.Class.getMethod(Class.java:1665)
at org.granite.hibernate4.ProxyFactory.<init>(ProxyFactory.java:72)
... 93 more

Message has been deleted

Lasha K

unread,
Mar 21, 2016, 9:49:54 AM3/21/16
to Granite Data Services Forum
I think you shouldn't expect much from this project.. it seems to be dead :( and links on graniteds.org are broken from now on..
Reply all
Reply to author
Forward
0 new messages