Comments (1)
You must not insert anything (even a null value) into an AutoInc column on most databases. H2 is one of the few exception where this is allowed (and ignored). You can create a separate mapping (in addition to "*") which does not use the AutoInc column. There's an enhancement request for a simpler soft insert feature in #27.
from slick.
Related Issues (20)
- [BUG] - Slick 2.1.0 string interpolation returning error when using multiple arguments HOT 4
- Compilation fails on Scala 2.13.11-M1 due to new `-Xsource:3` change HOT 11
- Bad type inference leading to crash at runtime on scala3 HOT 7
- Sbt hangout if the row final case class didn't match table definition HOT 1
- Add conditional `filterNot` methods (`filterNotIf`/`filterNotOpt`) support HOT 1
- Multi url hosts in JDBC connection
- `getOrElse` type inference issue in Scala 3
- MySQLProfile has a significant change in UpsertBuilder logic between 3.3.3 and 3.4.1 HOT 19
- Slick Codegen Unusable for Partitioned Tables
- slick-hikaricp 3.4.1 depends on SLF4J 2.x HOT 3
- Flaky tests for Pekko Connectors Slick connector started occurring only with Slick 3.5.0-M4 on Scala 3 HOT 12
- Codegen - Invalid Defaults in Case Classes and Table-Definitions HOT 2
- Slick 3.2 to 3.4 upgrade breaks inSet with NoSuchMethodError HOT 2
- Conveniences that could be added to DBIO HOT 3
- Add scalafmt to slick HOT 1
- Slick 3.5.0, MariaDB, `insertOrUpdate` fails with `You have an error in your SQL syntax` HOT 4
- 3.5.0 filter === fails with scala3 HOT 7
- Fix issues with MiMa ignoring filter
- Cake pattern in scala3 results in illegal cyclic reference HOT 1
- `provided` dependency on `scala-compiler` leads to runtime crashes of projects using slick HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slick.