Re: Hibernate ClassCastException in GWT hosted mode only

2012-09-25 Thread Meng
You helped me .thanks so muck. 在 2012年5月25日星期五UTC+8下午9时44分02秒,federevo写道: Hi all, here the procedure to apply the patch while 4.1.4 is not relased. 1. create a source folder (ie: src_patch) in your eclipse project 2. create the package org.hibernate.service.classloading.internal; 3.

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-25 Thread norandom
Hi all, here the procedure to apply the patch while 4.1.4 is not relased. 1. create a source folder (ie: src_patch) in your eclipse project 2. create the package org.hibernate.service.classloading.internal; 3. copy the patched source file ClassLoaderServiceImpl.java (attached) in the package

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-18 Thread Christopher Tarento
Has somebody found a way to try the patch described here https://hibernate.onjira.com/browse/HHH-7084 ? Le mardi 1 mai 2012 18:42:18 UTC+2, AK a écrit : Same question, as it has been almost 2 months. Any word on ways to get this to work without downgrading hibernate? -- You received this

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-02 Thread AK
Same question, as it has been almost 2 months. Any word on ways to get this to work without downgrading hibernate? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To

Re: Hibernate ClassCastException in GWT hosted mode only

2012-03-08 Thread Lukasz Plotnicki
Does anybody know a workaround (other then rollback to and old hibernate version) for this issue? Am Montag, 20. Februar 2012 07:58:57 UTC+1 schrieb Artem V. Navrotskiy: This is Hibernate 4.0.0+ bug: https://hibernate.onjira.com/browse/HHH-7084 -- You received this message because you are

Re: Hibernate ClassCastException in GWT hosted mode only

2012-02-19 Thread Artem V . Navrotskiy
This is Hibernate 4.0.0+ bug: https://hibernate.onjira.com/browse/HHH-7084 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-21 Thread Alexander Lochschmied
Juan that was a big help. Finally it seems to work with downgraded Hibernate (3.6.3) and additional dependencies: dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId !--version1.0.0.GA/version-- version${javax-validation.version}/version scopeprovided/scope /dependency

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-21 Thread Juan Pablo Gardella
:) 2011/11/21 Alexander Lochschmied alexander.lochschm...@gmail.com Juan that was a big help. Finally it seems to work with downgraded Hibernate (3.6.3) and additional dependencies: dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId !--version1.0.0.GA/version--

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-19 Thread jett
I'm facing the same issue and was suspecting a class loading issue. I thought I was inviting trouble when I would place the same Hibernate annotated class in both the server side code and the GWT client side, but until upgrading GWT 2.0 to GWT 2.4, I did not experience this ClassCastException

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Alexander Lochschmied
It only becomes: Caused by: java.lang.ClassCastException: org.hibernate.dialect.MySQL5Dialect cannot be cast to org.hibernate.dialect.Dialect We haven playing with those JARs as there may be incompatibilities (JPA 1 vs 2) I think. Currently we do *not *reference them

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Alexander Lochschmied
Sorry for the typo; wanted to say: We have been playing ... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/MDrIMjRfHUwJ. To post to this group,

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Juan Pablo Gardella
I have a sample that use hibernate 3.6.x and run inside jetty here: https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home Check the pom.xml. If you can't resolve the issue tell me. Juan 2011/11/18 Alexander Lochschmied alexander.lochschm...@gmail.com It only becomes: Caused by:

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread kebatshotse setimela
i cannot solve it On 11/18/11, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I have a sample that use hibernate 3.6.x and run inside jetty here: https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home Check the pom.xml. If you can't resolve the issue tell me. Juan

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Thomas Broyer
On Friday, November 18, 2011 2:21:33 PM UTC+1, Alexander Lochschmied wrote: It only becomes: Caused by: java.lang.ClassCastException: org.hibernate.dialect.MySQL5Dialect cannot be cast to org.hibernate.dialect.Dialect We haven playing with those JARs as there may be incompatibilities