Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 385cba79d8ae6fcb031d2f2bc39231c31ca65aee
https://github.com/hibernate/hibernate-orm/commit/385cba79d8ae6fcb031d2f2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
R
hibernate-core/src/main/java/org/hibernate/dialect/function/PowerReturnTypeResolver.java
Log Message:
-----------
remove PowerReturnTypeResolver
You can't do "exact decimal" exponentiation. For the same reason that
sqrt() is of type Double in the JPA, pow(decimal, 0.5) is also of type
Double.
Yes, yes, I know that some dbs (Postgres!) claim that the return type is
NUMERIC for NUMERIC arguments. But go on, try it: yes, the return type of
typed NUMERIC, but then it has a very suspicious number of digits. Hrrm....
17 decimal digits, now why does that specific number ring a bell?
Commit: c9015bcd8d4b7204af262aece0cdfa74610d4257
https://github.com/hibernate/hibernate-orm/commit/c9015bcd8d4b7204af262ae...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
make ln() and exp() have the return type Double
Commit: 3f563087e65995d4d44621a6d68e1f7d4ab5a6b5
https://github.com/hibernate/hibernate-orm/commit/3f563087e65995d4d44621a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
Log Message:
-----------
add a couple of comments
Compare:
https://github.com/hibernate/hibernate-orm/compare/5b5c76abfd65...3f56308...