[jbosstools-issues] [JBoss JIRA] (JBIDE-10559) IncompatibleClassChangeError when using Query Parameter with Hibernate 4

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Tue Feb 28 15:26:37 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Peterka closed JBIDE-10559.
--------------------------------



Verified in JBT 3.3.0.Beta1 #93, L64
                
> IncompatibleClassChangeError when using Query Parameter with Hibernate 4
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-10559
>                 URL: https://issues.jboss.org/browse/JBIDE-10559
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.M5
>         Environment: JBDS 5.0.0.M5a, H62,L64
>            Reporter: Jiri Peterka
>            Assignee: Dmitry Geraskov
>            Priority: Critical
>             Fix For: 3.3.0.Beta1
>
>
> java.lang.IncompatibleClassChangeError: Class org.hibernate.type.StringType does not implement the requested interface org.hibernate.type.Type
> 	at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:66)
> 	at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:588)
> 	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1756)
> 	at org.hibernate.loader.Loader.doQuery(Loader.java:828)
> 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)
> 	at org.hibernate.loader.Loader.doList(Loader.java:2463)
> 	at org.hibernate.loader.Loader.doList(Loader.java:2449)
> 	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2279)
> 	at org.hibernate.loader.Loader.list(Loader.java:2274)
> 	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)
> 	at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)
> 	at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196)
> 	at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1116)
> 	at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)
> 	at org.jboss.tools.hibernate4_0.QueryExecutor.executeHQLQuery(QueryExecutor.java:54)
> 	at org.jboss.tools.hibernate4_0.HibernateExtension4_0.executeHQLQuery(HibernateExtension4_0.java:79)
> 	at org.hibernate.console.ext.HQLQueryPage.updateQueryResults(HQLQueryPage.java:47)
> 	at org.hibernate.console.ext.HQLQueryPage.getPathNames(HQLQueryPage.java:71)
> 	at org.hibernate.eclipse.console.views.QueryPageViewer.addColumnsToTable(QueryPageViewer.java:266)
> 	at org.hibernate.eclipse.console.views.QueryPageViewer.createTable(QueryPageViewer.java:221)
> 	at org.hibernate.eclipse.console.views.QueryPageViewer.createControl(QueryPageViewer.java:203)
> 	at org.hibernate.eclipse.console.views.QueryPageViewer.<init>(QueryPageViewer.java:160)
> 	at org.hibernate.eclipse.console.views.QueryPageTabView.rebuild(QueryPageTabView.java:109)
> 	at org.hibernate.eclipse.console.views.QueryPageTabView$1.contentsChanged(QueryPageTabView.java:75)
> 	at org.hibernate.eclipse.console.views.QueryPageTabView$1.intervalAdded(QueryPageTabView.java:85)
> 	at javax.swing.AbstractListModel.fireIntervalAdded(AbstractListModel.java:130)
> 	at org.hibernate.console.QueryPageModel.add(QueryPageModel.java:67)
> 	at org.hibernate.console.KnownConfigurations$1.queryPageCreated(KnownConfigurations.java:88)
> 	at org.hibernate.console.ConsoleConfiguration.fireQueryPageCreated(ConsoleConfiguration.java:326)
> 	at org.hibernate.console.ConsoleConfiguration.executeHQLQuery(ConsoleConfiguration.java:291)
> 	at org.hibernate.eclipse.hqleditor.HQLEditor.executeQuery(HQLEditor.java:449)
> 	at org.hibernate.eclipse.console.actions.ExecuteQueryAction.execute(ExecuteQueryAction.java:84)
> 	at org.hibernate.eclipse.console.actions.ExecuteQueryAction.run(ExecuteQueryAction.java:55)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.hibernate.eclipse.console.actions.ExecuteQueryAction.runWithEvent(ExecuteQueryAction.java:59)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> 	at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	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:597)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list