mnimer / dphibernate

Automatically exported from code.google.com/p/dphibernate
0 stars 0 forks source link

java.lang.NoSuchMethodError: org.hibernate.Query.setResultTransformer(Lorg/hibernate/transform/ResultTransformer;)Lorg/hibernate/Query; #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. On the HibernateService I call super.list(Entity.class);
2. The hibernate execute a simple query like this "select * from entity"
3. This entity have relation one-to-many

What is the expected output? What do you see instead?
The result is OK

What version of the product are you using? On what operating system?
dpHibernate1.0.13.jar. OS Windows XP.

Please provide any additional information below.
The result of the query is OK.

Original issue reported on code.google.com by tadeu.ro...@gmail.com on 9 Oct 2008 at 9:29

GoogleCodeExporter commented 9 years ago
Can you send me a full stack trace and your Entity.class.. This looks like 
hibernate 
is having a problem converting the query to a list of objects. 

If you run a simple java class (junit test) against this method, do you get the 
same 
error?

Original comment by mni...@gmail.com on 9 Oct 2008 at 11:17

GoogleCodeExporter commented 9 years ago
I don´t get the same error with junit test. I think that´s something with the 
way  
dpHibernate call this method, as you´ll see at the stack trace.

The full stack trace and the entity map and pojo file in the attachment file.

thanks

Original comment by tadeu.ro...@gmail.com on 13 Oct 2008 at 8:02

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
I have the same exception.
In my case, it occurs during the serialization of an entity object, and only on 
lazy set.

Original comment by arnoux.f...@gmail.com on 28 Nov 2008 at 7:01

GoogleCodeExporter commented 9 years ago
It appears that this problem is due to the version of Hibernate.
With Hibernate 3.1, this occurs, but not with Hibernate 3.2.

Original comment by arnoux.f...@gmail.com on 28 Nov 2008 at 10:44

GoogleCodeExporter commented 9 years ago

Original comment by martypit...@gtempaccount.com on 15 Mar 2011 at 3:20