Branch: refs/heads/kill_pow_return_resolver
Home:
https://github.com/hibernate/hibernate-orm
Commit: cd113b80fdbe760772ccd72146dcc5f65ac72c17
https://github.com/hibernate/hibernate-orm/commit/cd113b80fdbe760772ccd72...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 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: 0a26c46f8bd2c24419e468480ad85ae605696783
https://github.com/hibernate/hibernate-orm/commit/0a26c46f8bd2c24419e4684...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 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: fd0584d7986c2752290874111d850f98f23b1dbd
https://github.com/hibernate/hibernate-orm/commit/fd0584d7986c27522908741...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-01-30 (Sun, 30 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/cd113b80fdbe%5E...fd05...