dynamobi/dynamobi — Issue #99: [LDB-224] JDBC driver addBatch throws UnsupportedOperationException, should throw SQLException
Author: dynamobi-build
Created: 2011-12-30 02:13:08+00:00
State: open
Labels: LDB

[reporter="jhyde", created="Sat, 19 Jun 2010 19:04:50 -0500 (GMT-05:00)"]
JDBC driver java.sql.addBatch throws UnsupportedOperationException. Per JDBC doc, should throw SQLException if addBatch is not supported.

mondrian.olap.MondrianException: Mondrian Error:Internal error: Load of fact failed.

at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:826)

at mondrian.olap.Util.newInternal(Util.java:1490)

at mondrian.olap.Util.newError(Util.java:1506)

at mondrian.test.loader.DBLoader.executeLoadTableRows(DBLoader.java:1105)

at mondrian.test.loader.DBLoader.executeStatements(DBLoader.java:856)

at mondrian.test.loader.DBLoader$Table.executeStatements(DBLoader.java:398)

at mondrian.test.loader.DBLoader.executeStatements(DBLoader.java:843)

at mondrian.test.loader.CsvDBTestCase.setUp(CsvDBTestCase.java:80)

at mondrian.rolap.aggmatcher.AggTableTestCase.setUp(AggTableTestCase.java:42)

at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:108)

at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:64)

Caused by: java.sql.SQLException: java.lang.UnsupportedOperationException

at net.sf.farrago.jdbc.engine.FarragoJdbcEngineStatement.addBatch(FarragoJdbcEngineStatement.java:354)

at de.simplicit.vjdbc.command.StatementExecuteBatchCommand.execute(StatementExecuteBatchCommand.java:37)

at de.simplicit.vjdbc.server.command.ConnectionEntry.executeCommand(ConnectionEntry.java:163)

at de.simplicit.vjdbc.server.command.CommandProcessor.process(CommandProcessor.java:159)

at net.sf.farrago.server.FarragoServletCommandSink.handleRequest(FarragoServletCommandSink.java:125)

at net.sf.farrago.server.FarragoServletCommandSink.doPost(FarragoServletCommandSink.java:91)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:427)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

at java.lang.Thread.run(Thread.java:619)