heavyai/heavyai-jdbc

UnsupportedOperationException: Not supported yet, line:168 class:com.omnisci.jdbc.OmniSciResultSetMetaData method:getColumnClassName

prithvi23 opened this issue · 2 comments

The main problem is that my connection was dropped and I wanted to setup a connection pool.

I'm trying to integrate the JDBC driver with a play scala application and also trying to use the anorm for mapping the result set to POJOs.

Is there a newer release that'll implement this feature? Or is it possible for me to submit a PR with changes?

Also will this be available through Maven?

Getting this exception:
play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[UnsupportedOperationException: Not supported yet, line:168 class:com.omnisci.jdbc.OmniSciResultSetMetaData method:getColumnClassName]]
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:251)
at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:178)
at play.core.server.AkkaHttpServer$$anonfun$1.applyOrElse(AkkaHttpServer.scala:382)
at play.core.server.AkkaHttpServer$$anonfun$1.applyOrElse(AkkaHttpServer.scala:380)
at scala.concurrent.Future.$anonfun$recoverWith$1(Future.scala:413)
at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37)
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)

Moving this to https://github.com/omnisci/omnisci-jdbc

Yes, this is now available on Maven, please see the README at the above link

Following up on your other question, yes, we'd be happy to review a PR that adds brings our JDBC driver closer to the official specification.