java.lang.IllegalStateException

Can't determine SQL data type. JdbcEncoder is expected.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10994

  • via GitHub by LMnet
    , 11 months ago
    Can't determine SQL data type. JdbcEncoder is expected.
  • Invalid schema data type, found: PRIMITIVE, expected: STRUCT
  • via https://bugzilla.redhat.com/bugzilla/ by Larry O'Leary, 1 year ago
    Cannot determine if server version is supported.
  • Stack trace

    • java.lang.IllegalStateException: Can't determine SQL data type. JdbcEncoder is expected. at io.getquill.util.Messages$.fail(Messages.scala:8) at io.getquill.context.jdbc.JdbcEncoders$$anon$2.apply(JdbcEncoders.scala:39) at io.getquill.context.jdbc.JdbcEncoders$$anon$2.apply(JdbcEncoders.scala:33) at io.getquill.context.Expand$$anonfun$2$$anonfun$apply$1.apply(Expand.scala:30) at io.getquill.context.Expand$$anonfun$2$$anonfun$apply$1.apply(Expand.scala:27) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at io.getquill.context.Expand$$anonfun$2.apply(Expand.scala:27) at io.getquill.JdbcContext$$anonfun$executeAction$1.apply(JdbcContext.scala:98) at io.getquill.JdbcContext$$anonfun$executeAction$1.apply(JdbcContext.scala:96) at io.getquill.JdbcContext$$anonfun$withConnection$1.apply(JdbcContext.scala:51) at scala.Option.getOrElse(Option.scala:121) at io.getquill.JdbcContext.withConnection(JdbcContext.scala:49) at io.getquill.JdbcContext.executeAction(JdbcContext.scala:96) at test.QuillTest$.delayedEndpoint$test$QuillTest$1(QuillTest.scala:24) at test.QuillTest$delayedInit$body.apply(QuillTest.scala:15) at scala.Function0$class.apply$mcV$sp(Function0.scala:34) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.collection.immutable.List.foreach(List.scala:381) at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35) at scala.App$class.main(App.scala:76) at test.QuillTest$.main(QuillTest.scala:15) at test.QuillTest.main(QuillTest.scala) 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:498)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.