mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
InTuples literal mode - don't cache ebean compiled query plan
- Don't cache ebean compiled query plan when InTuples goes into literal mode - Postgres maxInBinding = 32_000; - SQLite maxInBinding = 800; - Note that not caching the compiled query plan means that metrics visitor isn't going to see it, we lose collection of that query execution metric. We might need a plan to fix this later.
This commit is contained in:
@@ -13,6 +13,7 @@ public class SQLitePlatform extends DatabasePlatform {
|
||||
public SQLitePlatform() {
|
||||
super();
|
||||
this.platform = Platform.SQLITE;
|
||||
this.maxInBinding = 800; // technically 999
|
||||
this.dbIdentity.setIdType(IdType.IDENTITY);
|
||||
this.dbIdentity.setSupportsGetGeneratedKeys(false);
|
||||
this.dbIdentity.setSupportsSequence(false);
|
||||
|
||||
Reference in New Issue
Block a user