-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #2213 - PostgreSQL: Strict typing requires explicit type casts #2234
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a2fbf6 - Browse repository at this point
Copy the full SHA 8a2fbf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d87e12b - Browse repository at this point
Copy the full SHA d87e12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a3358a - Browse repository at this point
Copy the full SHA 7a3358aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e15720 - Browse repository at this point
Copy the full SHA 7e15720View commit details
Commits on Mar 21, 2024
-
#2213 Enrich
EqlDomainMetadata
with the active Hibernate dialect in……formation Field `dbVersion: DbVersion` was removed due to it being inferable from a `Dialect` instance. This change provides access to more information about the active SQL dialect. For example, we get access to Hibernate's knowledge of SQL type names, which is required to solve the problem described in this issue.
Configuration menu - View commit details
-
Copy full SHA for f3edd9d - Browse repository at this point
Copy the full SHA f3edd9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a108fb0 - Browse repository at this point
Copy the full SHA a108fb0View commit details
Commits on Mar 22, 2024
-
#2213 Modify
IGenerateSql#sql()
to acceptEqlDomainMetadata
inste……ad of `DbVersion`
Configuration menu - View commit details
-
Copy full SHA for 9ddcc21 - Browse repository at this point
Copy the full SHA 9ddcc21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2959025 - Browse repository at this point
Copy the full SHA 2959025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6baadb8 - Browse repository at this point
Copy the full SHA 6baadb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fb478 - Browse repository at this point
Copy the full SHA 46fb478View commit details -
* Increase immutability * Be concise * Add documentation and comments
Configuration menu - View commit details
-
Copy full SHA for c52e116 - Browse repository at this point
Copy the full SHA c52e116View commit details -
#2213 Always use generic SQL type names in type casts
Needed additional code to overcome limitations of Hibernate
Configuration menu - View commit details
-
Copy full SHA for 2405201 - Browse repository at this point
Copy the full SHA 2405201View commit details -
Configuration menu - View commit details
-
Copy full SHA for 006268a - Browse repository at this point
Copy the full SHA 006268aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7ee5a - Browse repository at this point
Copy the full SHA 6f7ee5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95dc9d0 - Browse repository at this point
Copy the full SHA 95dc9d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7de9742 - Browse repository at this point
Copy the full SHA 7de9742View commit details -
#2213 Replace null as placeholder with a reserved instance
Null is a bad idea
Configuration menu - View commit details
-
Copy full SHA for 0561a48 - Browse repository at this point
Copy the full SHA 0561a48View commit details
Commits on Mar 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed3926f - Browse repository at this point
Copy the full SHA ed3926fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfdadf0 - Browse repository at this point
Copy the full SHA cfdadf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf36ce3 - Browse repository at this point
Copy the full SHA bf36ce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 516ea29 - Browse repository at this point
Copy the full SHA 516ea29View commit details
Commits on Mar 28, 2024
-
Make
StreamUtils#zip
accept a wider range of streamsE.g., IntStream, LongStream, DoubleStream
Configuration menu - View commit details
-
Copy full SHA for 3d91a16 - Browse repository at this point
Copy the full SHA 3d91a16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fc0682 - Browse repository at this point
Copy the full SHA 1fc0682View commit details
Commits on Mar 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a8a803 - Browse repository at this point
Copy the full SHA 6a8a803View commit details
Commits on Apr 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1bb3a85 - Browse repository at this point
Copy the full SHA 1bb3a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ba776 - Browse repository at this point
Copy the full SHA 26ba776View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6810d6 - Browse repository at this point
Copy the full SHA e6810d6View commit details -
#2213 Represent the null PropType with a reserved instance instead of…
… literal null Programming with nulls is undesirable.
Configuration menu - View commit details
-
Copy full SHA for 2255bbc - Browse repository at this point
Copy the full SHA 2255bbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51ea4aa - Browse repository at this point
Copy the full SHA 51ea4aaView commit details
Commits on Apr 5, 2024
-
#2213 Use unique Hibernate placeholder types instead of a singleton
This is to avoid 2 placeholder types from different contexts being accidentally considered equal.
Configuration menu - View commit details
-
Copy full SHA for e454d04 - Browse repository at this point
Copy the full SHA e454d04View commit details -
#2213 Various minor improvements
- Add documentation - Implement toString() methods to facilitate reasoning - Reduce visibility of PropType constructor (static method should be used)
Configuration menu - View commit details
-
Copy full SHA for f896e92 - Browse repository at this point
Copy the full SHA f896e92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4554d6e - Browse repository at this point
Copy the full SHA 4554d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9186ba9 - Browse repository at this point
Copy the full SHA 9186ba9View commit details -
#2213 Make NULL compatible with the other value in comparison express…
…ions This is achieved by casting the NULL to the type of the other operand
Configuration menu - View commit details
-
Copy full SHA for 643a678 - Browse repository at this point
Copy the full SHA 643a678View commit details -
Configuration menu - View commit details
-
Copy full SHA for dafb82e - Browse repository at this point
Copy the full SHA dafb82eView commit details
Commits on Apr 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ffc1bf4 - Browse repository at this point
Copy the full SHA ffc1bf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4416374 - Browse repository at this point
Copy the full SHA 4416374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b9a920 - Browse repository at this point
Copy the full SHA 8b9a920View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5c48a1 - Browse repository at this point
Copy the full SHA c5c48a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a073a1 - Browse repository at this point
Copy the full SHA 8a073a1View commit details -
#2213 Test erroneous union queries with different numbers of yields
In general, this approach of asserting that an exception is thrown is far from the best because it ignores potential exceptions that may be thrown for unexpected reasons. Being more specific and expecting only a certain type of exceptions doesn't work either since the exception gets rethrown at some higher level, effectively becoming a cause of another exception. Should we be making assertions about the stack trace at this point? I don't think so.
Configuration menu - View commit details
-
Copy full SHA for e9c8823 - Browse repository at this point
Copy the full SHA e9c8823View commit details
Commits on Apr 10, 2024
-
#2213 Refactor getConvertToStringSql* using a clearly defined interface
The converstion itself was also slightly modified: * Use an unbounded VARCHAR by default instead of setting the limit to 255 chars, which has no clear basis. * Optimise for Integers by limiting the VARCHAR length to 10 chars.
Configuration menu - View commit details
-
Copy full SHA for 5945557 - Browse repository at this point
Copy the full SHA 5945557View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea4657a - Browse repository at this point
Copy the full SHA ea4657aView commit details -
#2213 Support all types of values in the left-hand side of LIKE
And for all DB back-ends, not just PostgreSQL and SQL Server.
Configuration menu - View commit details
-
Copy full SHA for 35aaebe - Browse repository at this point
Copy the full SHA 35aaebeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d66ca0c - Browse repository at this point
Copy the full SHA d66ca0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fa0b56 - Browse repository at this point
Copy the full SHA 1fa0b56View commit details -
#2213 Remove EQL2 workarouond for caseWhen that represented null type…
… with string type Wheels of EQL3 are turning so the workaround is no longer needed. Moreover, we can now be confident that the null type is never taken for the string type by mistake, which is vastly important for PostgreSQL.
Configuration menu - View commit details
-
Copy full SHA for 20417a7 - Browse repository at this point
Copy the full SHA 20417a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5b7f85 - Browse repository at this point
Copy the full SHA a5b7f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4636dd6 - Browse repository at this point
Copy the full SHA 4636dd6View commit details
Commits on Apr 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1629bcd - Browse repository at this point
Copy the full SHA 1629bcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c0035 - Browse repository at this point
Copy the full SHA a6c0035View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ca6d9c - Browse repository at this point
Copy the full SHA 1ca6d9cView commit details -
#2213 Refactor type casting facility of caseWhen
* Use a sealed interface with inner classes to facilitate pattern matching with switch. * Instead of inserting type casts conditionally, depending on the database, always insert them. The conditional approach likely relied on implicit type conversion performed by some DBs. Although, endAsInt() worked correctly only with H2, which had gone unnoticed as its usage has been scarce.
Configuration menu - View commit details
-
Copy full SHA for 86986a3 - Browse repository at this point
Copy the full SHA 86986a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ddd6c7 - Browse repository at this point
Copy the full SHA 6ddd6c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d0ebb - Browse repository at this point
Copy the full SHA 93d0ebbView commit details -
#2213 Use a better suited assertion for empty lists
This assertion reports list contents in case of failure.
Configuration menu - View commit details
-
Copy full SHA for 98c65af - Browse repository at this point
Copy the full SHA 98c65afView commit details
Commits on Apr 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 73f609d - Browse repository at this point
Copy the full SHA 73f609dView commit details
Commits on Aug 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aceec3b - Browse repository at this point
Copy the full SHA aceec3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1841303 - Browse repository at this point
Copy the full SHA 1841303View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d23eb - Browse repository at this point
Copy the full SHA b7d23ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5708463 - Browse repository at this point
Copy the full SHA 5708463View commit details