-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: [Scroller] QueryException: implicit polymorphism not support
PostPosted: Wed Jan 30, 2008 1:49 pm 
Newbie

Joined: Wed Jan 30, 2008 11:55 am
Posts: 2
Hibernate version: 3.2.5ga
Name and version of the database you are using: Oracle -> Oracle10gDialect

I have a problem like this under Junit:

org.hibernate.QueryException: implicit polymorphism not supported for scroll() queries
at org.hibernate.engine.query.HQLQueryPlan.performScroll(HQLQueryPlan.java:239)
at org.hibernate.impl.SessionImpl.scroll(SessionImpl.java:1206)
at org.hibernate.impl.QueryImpl.scroll(QueryImpl.java:67)
at fr.procapital.core.dao.tradeticket.hibernate.MovementDaoImpl.scrollSEByCountableDateBoB2b(MovementDaoImpl.java:630)
at fr.procapital.control.job.editique.ControlEditique.scrollMovement(ControlEditique.java:264)
at fr.procapital.control.job.editique.ControlEditique.runControl(ControlEditique.java:199)
at fr.procapital.control.job.editique.ControlEditique.execute(ControlEditique.java:105)
at fr.procapital.control.job.editique.ControlEditique.main(ControlEditique.java:58)
at fr.procapital.control.editique.ControlEditiqueTestCase.testControlEditique(ControlEditiqueTestCase.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:228)
at junit.framework.TestSuite.run(TestSuite.java:223)
at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

but this Dao work without Junit.
i search a solution and i have read :
http://www.koders.com/java/fid248D01630 ... ll%3Aquery

I don't understand what is "translators" in my case.

Other way : c3po ? antlr ?

Tanks for your help.

D.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.