java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Statement(s) could not be prepared.* *

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 Oracle Community by 672962, 1 year ago
[BEA][SQLServer JDBC Driver][SQLServer]Statement(s) could not be prepared.* *
via Oracle Community by 666705, 1 year ago
[BEA][SQLServer JDBC Driver][SQLServer]String or binary d ata would be truncated.
via Google Groups by Fred Fred, 5 months ago
[BEA][SQLServer JDBC Driver][SQLServer]String or binary d ata would be truncated.
via Oracle Community by 666705, 1 year ago
[BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PF_PORTLET_DEFINITION' with unique index 'AX1_PORTLET_DEF'.
via Oracle Community by 666705, 1 year ago
[BEA][SQLServer JDBC Driver][SQLServer]Cannot insert duplicate key row in object 'PATIENT_RECORD' with unique index 'PATIENT_RECORD_Idx'.
via Google Groups by Radovan Biciste, 5 months ago
[BEA][SQLServer JDBC Driver][SQLServer]Select statements included within a function cannot return data to a client.
java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Statement(s) could not be prepared.* *
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
at weblogic.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at weblogic.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at weblogic.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at weblogic.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at weblogic.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at weblogic.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:125)
at com.bea.dsp.wrappers.rdb.runtime.DBSession.executeUpdate(DBSession.java:144)
at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLInsertInternal.executeSQL(ExecuteSQLInsertInternal.java:110)
at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.prepareAndExecuteQuery(ExecuteSQLRuntimeBase.java:170)
at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLModificationBase.prepareAndExecuteQuery(ExecuteSQLModificationBase.java:77)
at com.bea.dsp.wrappers.rdb.runtime.ExecuteSQLRuntimeBase.fetchNext(ExecuteSQLRuntimeBase.java:95)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
at weblogic.xml.query.update.runtime.ExecuteRelational.fetchNext(ExecuteRelational.java:52)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:114)
at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:85)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:135)
at weblogic.xml.query.runtime.util.TokenBuffer.addAll(TokenBuffer.java:296)
at weblogic.xml.query.update.runtime.Interpreter$Frame.setValueUsingTemporary(Interpreter.java:436)
at weblogic.xml.query.update.runtime.Interpreter.processMSet(Interpreter.java:297)
at weblogic.xml.query.update.runtime.Interpreter.run(Interpreter.java:125)
at weblogic.xml.query.update.recovery.SagaInterpreter$NestedFactory$1.run(SagaInterpreter.java:134)
at weblogic.xml.query.update.recovery.SagaInterpreter.run(SagaInterpreter.java:54)
at weblogic.xml.query.update.runtime.UVMRewritingEvaluatorImpl.run(UVMRewritingEvaluatorImpl.java:33)
at weblogic.xml.query.xdbcimpl.XQSEStatementImpl.execute(XQSEStatementImpl.java:100)
at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:731)
at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:611)
at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:466)
at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:308)
at com.bea.ld.ServerBean.executeOperationStreaming(ServerBean.java:84)
at com.bea.ld.Server_ydm4ie_EOImpl.executeOperationStreaming(Server_ydm4ie_EOImpl.java:354)
at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

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