slick.SlickException: This DBMS allows only a single AutoInc column to be returned from an INSERT

Stack Overflow | Sujit | 3 months ago
  1. 0

    How to fix Slick Exception of single AutoInc column to be returned from an INSERT

    Stack Overflow | 3 months ago | Sujit
    slick.SlickException: This DBMS allows only a single AutoInc column to be returned from an INSERT
  2. 0

    Slick codegen does not postgresql's text type

    GitHub | 11 months ago | mootech
    slick.SlickException: Could not parse default value Some('active'::text) for column test_case.active of type String, meta data: MColumn(MQName(public.test_case),active,12,text,Some(2147483647),Some(0),10,Some(false),None,Some('active'::text),2147483647,9,Some(false),None,None,Some(false))
  3. 0

    Slick 3.1.1 Stream -- Pagination

    Stack Overflow | 9 months ago | xeonzion
    slick.SlickException: Read NULL value for ResultSet column <computed>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issues connecting to sql server using slick extensions

    Google Groups | 1 year ago | Preethi Dasa
    slick.SlickException: Driver com.typesafe.slick.driver.ms.SQLServerDriver does not know how to handle URL jdbc:sqlserver://localhost:1433;databaseName=mydb;encrypt=false;trustServerCertificate=true;
  6. 0

    Invalid default value None for non-nullable column. (Oracle)

    GitHub | 4 months ago | OUeasley
    slick.SlickException: Invalid default value None for non-nullable column FOO.BEGIN_DATE of type java.sql.Timestamp, meta data: MColumn(MQName(FOO),BEGIN_DATE,93,TIMESTAMP(0),Some(7),Some(0),10,Some(false),None,Some(NULL ),7,3,Some(false),None,None,Some(false))

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. slick.SlickException

      This DBMS allows only a single AutoInc column to be returned from an INSERT

      at slick.driver.JdbcStatementBuilderComponent$JdbcCompiledInsert.buildReturnColumns()
    2. slick.driver
      JdbcActionComponent$SimpleJdbcDriverAction.run
      1. slick.driver.JdbcStatementBuilderComponent$JdbcCompiledInsert.buildReturnColumns(JdbcStatementBuilderComponent.scala:69)
      2. slick.driver.JdbcActionComponent$ReturningInsertActionComposerImpl.x$12$lzycompute(JdbcActionComponent.scala:633)
      3. slick.driver.JdbcActionComponent$ReturningInsertActionComposerImpl.x$12(JdbcActionComponent.scala:633)
      4. slick.driver.JdbcActionComponent$ReturningInsertActionComposerImpl.keyColumns$lzycompute(JdbcActionComponent.scala:633)
      5. slick.driver.JdbcActionComponent$ReturningInsertActionComposerImpl.keyColumns(JdbcActionComponent.scala:633)
      6. slick.driver.JdbcActionComponent$ReturningInsertActionComposerImpl.preparedInsert(JdbcActionComponent.scala:636)
      7. slick.driver.JdbcActionComponent$InsertActionComposerImpl$SingleInsertAction.run(JdbcActionComponent.scala:504)
      8. slick.driver.JdbcActionComponent$SimpleJdbcDriverAction.run(JdbcActionComponent.scala:32)
      9. slick.driver.JdbcActionComponent$SimpleJdbcDriverAction.run(JdbcActionComponent.scala:29)
      9 frames
    3. slick.backend
      DatabaseComponent$DatabaseDef$$anon$2.run
      1. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.liftedTree1$1(DatabaseComponent.scala:237)
      2. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.run(DatabaseComponent.scala:237)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames