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.