autodao-users Mailing List for AutoDAO
Brought to you by:
slonopotamus
You can subscribe to this list here.
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <n.k...@si...> - 2017-05-29 10:35:34
|
<div>Добрый день! При имеющейся в проекте maven-зависимости hibernate-core версии 5.2.0 и выше Autodao при попытке вызова метода с аннотацией Finder выдаёт следующий стектрейс. Стандартные crud операции при этом работают. При смене версии hibernate на 5.1.6 всё налаживается. Вопрос - есть ли поддержка hibernate 5.2? Нам хотелось бы использовать последнюю версию.</div><div> </div><div><div>Caused by: java.lang.NoSuchMethodError: org.hibernate.Session.createQuery(Ljava/lang/String;)Lorg/hibernate/Query;</div><div> at net.sf.autodao.impl.hibernate.HibernateDao$1.visitQuery(HibernateDao.java:135) ~[autodao-0.12.2.jar:na]</div><div> at net.sf.autodao.impl.hibernate.HibernateDao$1.visitQuery(HibernateDao.java:127) ~[autodao-0.12.2.jar:na]</div><div> at net.sf.autodao.impl.Utils.visitQuery(Utils.java:82) ~[autodao-0.12.2.jar:na]</div><div> at net.sf.autodao.impl.hibernate.HibernateDao.createQuery(HibernateDao.java:127) ~[autodao-0.12.2.jar:na]</div><div> at net.sf.autodao.impl.hibernate.HibernateDao.executeSingleFinder(HibernateDao.java:106) ~[autodao-0.12.2.jar:na]</div><div> at net.sf.autodao.impl.FinderIntroductionInterceptor.invoke(FinderIntroductionInterceptor.java:107) ~[autodao-0.12.2.jar:na]</div><div> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.8.RELEASE.jar:4.3.8.RELEASE]</div><div> at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) [spring-tx-4.3.8.RELEASE.jar:4.3.8.RELEASE]</div><div> at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) [spring-tx-4.3.8.RELEASE.jar:4.3.8.RELEASE]</div><div> at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) [spring-tx-4.3.8.RELEASE.jar:4.3.8.RELEASE]</div><div> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.3.8.RELEASE.jar:4.3.8.RELEASE]</div><div> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) [spring-aop-4.3.8.RELEASE.jar:4.3.8.RELEASE]</div><div> at com.sun.proxy.$Proxy57.findByEmail(Unknown Source) ~[na:na]</div><div> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]</div><div> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]</div><div> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]</div><div> at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]</div><div> at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-8.0.0-M6.jar:8.0.0-M6]</div><div> at com.sun.proxy.$Proxy66.findByEmail(Unknown Source) ~[na:na]</div><div> at ru.simplex_software.iqmanager.web.pages.SuperPage.<init>(SuperPage.java:19) ~[classes/:na]</div><div> at ru.simplex_software.iqmanager.web.pages.IndexPage.<init>(IndexPage.java:6) ~[classes/:na]</div><div> ... 70 common frames omitted</div><div>[WARNING] /wicket/index.html</div><div>org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only</div><div> at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)</div><div> at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:504)</div><div> at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:292)</div><div> at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)</div><div> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)</div><div> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)</div><div> at com.sun.proxy.$Proxy63.doFilter(Unknown Source)</div><div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)</div><div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)</div><div> at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1629)</div><div> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)</div><div> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)</div><div> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)</div><div> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)</div><div> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)</div><div> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)</div><div> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)</div><div> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)</div><div> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)</div><div> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)</div><div> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)</div><div> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)</div><div> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)</div><div> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)</div><div> at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)</div><div> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)</div><div> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)</div><div> at org.eclipse.jetty.server.Server.handle(Server.java:564)</div><div> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)</div><div> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)</div><div> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)</div><div> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)</div><div> at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)</div><div> at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)</div><div> at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)</div><div> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)</div><div> at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:126)</div><div> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)</div><div> at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)</div><div> at java.lang.Thread.run(Thread.java:745)</div><div> </div><div> </div></div> |