org.hibernate.HibernateException: createQuery is not valid without active transaction

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Same dude, 1 year ago
createQuery is not valid without active transaction
via Coderanch by Santosh Ramachandrula, 1 year ago
via hibernate.org by Unknown author, 2 years ago
createQuery is not valid without active transaction
via Coderanch by kwame Iwegbue, 1 year ago
[B]createQuery is not valid without active transaction[/B]
via Coderanch by Santosh Ramachandrula, 1 year ago
org.hibernate.HibernateException: createQuery is not valid without active transaction
at undefined.$Proxy7.createQuery(Unknown Source)
at com.wideplay.warp.hibernate.HibernateFinderInterceptor$FinderDescriptor.createQuery(HibernateFinderInterceptor.java:256)
at com.wideplay.warp.hibernate.HibernateFinderInterceptor.invoke(HibernateFinderInterceptor.java:68)
at com.google.inject.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:64)
at com.google.inject.InterceptorStackCallback.intercept(InterceptorStackCallback.java:44)
at org.webhop.ywdc.login.client.LoginRepository$$EnhancerByGuice$$76a2c7f1.listall()
at org.webhop.ywdc.login.client.Main.main(Main.java:46)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.