mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte
This commit is contained in:
@@ -757,7 +757,7 @@ final class CQueryBuilder {
|
||||
}
|
||||
|
||||
boolean isPlatformDistinctOn() {
|
||||
return dbPlatform.isPlatform(Platform.POSTGRES) || dbPlatform.isPlatform(Platform.YUGABYTE);
|
||||
return dbPlatform.isPlatform(Platform.POSTGRES) || dbPlatform.isPlatform(Platform.YUGABYTE) || dbPlatform.isPlatform(Platform.COCKROACH);
|
||||
}
|
||||
|
||||
boolean isPlatformDistinctNoLobs() {
|
||||
|
||||
@@ -35,7 +35,7 @@ public class TestQueryUsingConnection extends BaseTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
@IgnorePlatform(Platform.SQLSERVER)
|
||||
@IgnorePlatform({Platform.SQLSERVER, Platform.COCKROACH})
|
||||
@Test
|
||||
public void usingTransaction() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user