-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: support features used by Hibernate #16491
Copy link
Copy link
Closed
Labels
A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLA-tools-hibernateIssues that pertain to Hibernate integration.Issues that pertain to Hibernate integration.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)meta-issueContains a list of several other issues.Contains a list of several other issues.
Metadata
Metadata
Assignees
Labels
A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLA-tools-hibernateIssues that pertain to Hibernate integration.Issues that pertain to Hibernate integration.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)meta-issueContains a list of several other issues.Contains a list of several other issues.
There's a number of queries issued by the Hibernate test suite that we don't execute properly or cannot parse (for various different reasons), this issue tracks them as they're found and fixed. This list is incomplete and growing as we find more:
Most important:
information_schema._pg_expandarray- sql: support Hibernate's use of _pg_expandarray #16971Mildly more important:
timedatatype - sql: time datatype #16490CREATE TEMPORARY TABLE ...- sql: Add support for TEMP tables #5807SERIALtypes into an int, which fails if they are too large -testDirectIdPropertyAccess-sql: Hibernate tries to load SERIAL types into an int #226071::int + float::int) -testQuotientConversion-sql: Hibernate's use of int/float operations #24063Mildly less important:
ALLoperator with subqueries (rather than just arrays) -testEqualAll- sql: ANY/ALL with subqueries #17662testCollectionIsEmptyCriteriatestConstructorResultNativeQuery- sql: support Postgres syntax names for all types #14493intin a dialect, but just doing this seems to break Hibernate's type inference.current_time-testDateTimeFunctions- sql: timetz datatype #20944SELECT ... FOR UPDATE- can be worked around via a dialect - sql: explicit lock syntax (SELECT FOR {SHARE,UPDATE} {skip locked,nowait}) #6583Other:
Some of them would probably be better to fix in CockroachDB itself (like temporary tables) and some would be better fixed by a custom Hibernate dialect, and some might be infeasible to fix at all at present.