Post upgrading to scala 2.12, Few test cases have started failing due to unsupported operation exception
slick.SlickException: InsertOrUpdate is not supported on a table without PK.
at slick.jdbc.JdbcActionComponent$InsertActionComposerImpl$InsertOrUpdateAction.<init>(JdbcActionComponent.scala:550)
at slick.jdbc.JdbcActionComponent$InsertActionComposerImpl.insertOrUpdate(JdbcActionComponent.scala:468)
Since I am not changing the version wondering what could have caused this compatibility issue
Hello Team,
I am migrating a legacy play project from scala 2.11 to 2.12. We have a dependency on slick for jdbc connections
The version we are using:
For unit tests we are using H2 in-memory database. We are injecting the database client. Slick configuration for the same:
Post upgrading to scala 2.12, Few test cases have started failing due to unsupported operation exception
Since I am not changing the version wondering what could have caused this compatibility issue