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 Hibernate JIRA by Gail Badner, 1 year ago
org.hibernate.exception.GenericJDBCException: Unable to set JDBC Connection into auto-commit mode in preparation for DDL execution
javax.ejb.EJBException: org.hibernate.exception.GenericJDBCException: Unable to set JDBC Connection into auto-commit mode in preparation for DDL execution	at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:1063)	at org.jboss.jca.adapters.jdbc.WrappedConnection.commit(WrappedConnection.java:834)	at org.hibernate.resource.transaction.backend.jdbc.internal.DdlTransactionIsolatorNonJtaImpl.getIsolatedConnection(DdlTransactionIsolatorNonJtaImpl.java:51)	at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.jdbcStatement(GenerationTargetToDatabase.java:72)	at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:48)	at org.hibernate.tool.schema.internal.SchemaDropperImpl$DelayedDropActionImpl.perform(SchemaDropperImpl.java:530)	at org.hibernate.internal.SessionFactoryImpl.close(SessionFactoryImpl.java:1074)	at org.jboss.as.test.integration.hibernate.SFSBHibernate2LcacheStats.cleanup(SFSBHibernate2LcacheStats.java:73)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)	at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)	at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.jpa.interceptor.SFSBInvocationInterceptor.processInvocation(SFSBInvocationInterceptor.java:57)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:135)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)	at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:59)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)	at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)	at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)	at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)	at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)	at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)	at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)	at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)	at org.jboss.as.test.integration.hibernate.SFSBHibernate2LcacheStats$$$view1.cleanup(Unknown Source)	at org.jboss.as.test.integration.hibernate.Hibernate2LCacheStatsTestCase.testHibernateStatistics(Hibernate2LCacheStatsTestCase.java:207)