{"action":"created","issue":{"url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/issues/89","repository_url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate","labels_url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/issues/89/comments","events_url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/issues/89/events","html_url":"https://github.com/jbosstools/jbosstools-hibernate/pull/89","id":135775462,"number":89,"title":"JBIDE-20446: Add Hibernate 5.0 support","user":{"login":"koentsje","id":621954,"avatar_url":"https://avatars.githubusercontent.com/u/621954?v=3","gravatar_id":"","url":"https://api.github.com/users/koentsje","html_url":"https://github.com/koentsje","followers_url":"https://api.github.com/users/koentsje/followers","following_url":"https://api.github.com/users/koentsje/following{/other_user}","gists_url":"https://api.github.com/users/koentsje/gists{/gist_id}","starred_url":"https://api.github.com/users/koentsje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koentsje/subscriptions","organizations_url":"https://api.github.com/users/koentsje/orgs","repos_url":"https://api.github.com/users/koentsje/repos","events_url":"https://api.github.com/users/koentsje/events{/privacy}","received_events_url":"https://api.github.com/users/koentsje/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-23T15:48:27Z","updated_at":"2016-02-28T12:31:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/pulls/89","html_url":"https://github.com/jbosstools/jbosstools-hibernate/pull/89","diff_url":"https://github.com/jbosstools/jbosstools-hibernate/pull/89.diff","patch_url":"https://github.com/jbosstools/jbosstools-hibernate/pull/89.patch"},"body":"@rawagner @alexeykazakov @maxandersen PR with the corrected pom.xml files for the new plugin and fragment."},"comment":{"url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/issues/comments/189858044","html_url":"https://github.com/jbosstools/jbosstools-hibernate/pull/89#issuecomment-189858044","issue_url":"https://api.github.com/repos/jbosstools/jbosstools-hibernate/issues/89","id":189858044,"user":{"login":"bdshadow","id":5796973,"avatar_url":"https://avatars.githubusercontent.com/u/5796973?v=3","gravatar_id":"","url":"https://api.github.com/users/bdshadow","html_url":"https://github.com/bdshadow","followers_url":"https://api.github.com/users/bdshadow/followers","following_url":"https://api.github.com/users/bdshadow/following{/other_user}","gists_url":"https://api.github.com/users/bdshadow/gists{/gist_id}","starred_url":"https://api.github.com/users/bdshadow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdshadow/subscriptions","organizations_url":"https://api.github.com/users/bdshadow/orgs","repos_url":"https://api.github.com/users/bdshadow/repos","events_url":"https://api.github.com/users/bdshadow/events{/privacy}","received_events_url":"https://api.github.com/users/bdshadow/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T12:31:23Z","updated_at":"2016-02-28T12:31:23Z","body":"hi!\r\nI've checked out your PR, built it and installed from local generated update site.\r\nI already had a project in a workspace with a console configuration created (database: [sakila-h2](https://github.com/maxandersen/sakila-h2.git)).\r\nIn the \"Edit configuration\" window i changed the hibernate version from 4.3 to 5.0. Then i clicked apply. The i tried to build the configuration and the session factory by expanding them in the Hibernate Configuration view. But while expanding the session factory the exception is thrown:\r\n\r\n`java.lang.RuntimeException: java.lang.AbstractMethodError\r\n\tat org.jboss.tools.hibernate.runtime.common.Util.invokeMethod(Util.java:55)\r\n\tat org.jboss.tools.hibernate.runtime.common.AbstractConfigurationFacade.buildTargetSessionFactory(AbstractConfigurationFacade.java:321)\r\n\tat org.jboss.tools.hibernate.runtime.common.AbstractConfigurationFacade.buildSessionFactory(AbstractConfigurationFacade.java:169)\r\n\tat org.hibernate.console.ConsoleConfiguration$5.execute(ConsoleConfiguration.java:285)\r\n\tat org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)\r\n\tat org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:108)\r\n\tat org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:280)\r\n\tat org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)\r\n\tat org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:98)\r\n\tat org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:104)\r\n\tat org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:232)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\nCaused by: java.lang.AbstractMethodError\r\n\tat org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:278)\r\n\tat org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)\r\n\tat org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708)\r\n\tat org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.jboss.tools.hibernate.runtime.common.Util.invokeMethod(Util.java:43)\r\n\t... 11 more`\r\n\r\nThe same steps are successfully done for all other hibernate versions."}}