Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 65bc730cc152d86325cdc35b15bbdc06376080d5
https://github.com/hibernate/hibernate-orm/commit/65bc730cc152d86325cdc35...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarDateJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimestampJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
Log Message:
-----------
use switch expressions in isWider() impls
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 26988dd536d90b92510db8f0da0e6e94008b98c5
https://github.com/hibernate/hibernate-orm/commit/26988dd536d90b92510db8f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CurrencyJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DurationJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InstantJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetDateTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UrlJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/YearJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneIdJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneOffsetJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZonedDateTimeJavaType.java
Log Message:
-----------
start using flow typing in the JavaTypes
- but definitely not done with this
squash
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 2924fe887517b762f675554b18a049c83c46ffb5
https://github.com/hibernate/hibernate-orm/commit/2924fe887517b762f675554...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
Log Message:
-----------
treat an empty string as a null character in CharacterJavaType conversion
an empty string should not be converted to a space char
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 16a15ea6ac329b70d8fb1efb232143a032bf0f32
https://github.com/hibernate/hibernate-orm/commit/16a15ea6ac329b70d8fb1ef...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanPrimitiveArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DataHelper.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoublePrimitiveArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatPrimitiveArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerPrimitiveArrayJavaType.java
R
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LobStreamDataHelper.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveByteArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/SerializableJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/BasicCollectionJavaType.java
Log Message:
-----------
cleanups in descriptor.java package
- delete a duplicate class
- fix some incorrect usage of that class
- continue using more flow typing
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 7df56daddad2a76bf033e9c9434614bd46129677
https://github.com/hibernate/hibernate-orm/commit/7df56daddad2a76bf033e9c...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BasicJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanPrimitiveArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarDateJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoublePrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatPrimitiveArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InetAddressJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerPrimitiveArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcDateJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimeJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimestampJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ObjectArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveByteArrayJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveCharacterArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UrlJavaType.java
Log Message:
-----------
more work on flow typing in the JavaTypes
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 920d4bce44eca5a702291efda220cc4c27b91202
https://github.com/hibernate/hibernate-orm/commit/920d4bce44eca5a702291ef...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CoercionException.java
Log Message:
-----------
throw CoercionException when CharacterJavaType receives a string of wrong length
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: ddc2b36bbe58bbbbe1629a64eba80dc8333ba923
https://github.com/hibernate/hibernate-orm/commit/ddc2b36bbe58bbbbe1629a6...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
disable a test on MySQL
MySQL cast() doesn't do truncation, this never worked properly
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 08f25cf8d9ce320e64ee582cc6de56d15bd48ea2
https://github.com/hibernate/hibernate-orm/commit/08f25cf8d9ce320e64ee582...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
Log Message:
-----------
spotless changes
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 3c793c7a30ee47cde178089b8ef8fc3c72929099
https://github.com/hibernate/hibernate-orm/commit/3c793c7a30ee47cde178089...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java
Log Message:
-----------
inline a redundant variable
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: a389f771bf86f6fb7b03da53871af0ae764cc282
https://github.com/hibernate/hibernate-orm/commit/a389f771bf86f6fb7b03da5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
Log Message:
-----------
avoid use of char(n) types on MySQL
MySQL strips trailing space characters from char(n) columns,
which is very bad, because we use char(1) for storing Java
char values.
We can sort-of compensate for this in CharacterJavaType,
but it's ugly and fragile to do it that way.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 633f1012e196e3adb25a2f9c637a422d54ab8fbe
https://github.com/hibernate/hibernate-orm/commit/633f1012e196e3adb25a2f9...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
Log Message:
-----------
recover previous workaround for problem with MySQL char(n) type
This is needed to remain compatible with schemas we produced in the past,
even though we're nor preferring varchar(1) for storing Java char.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: eb6f7a07744442fa5d4f090cc1ecaa1b4d6415ea
https://github.com/hibernate/hibernate-orm/commit/eb6f7a07744442fa5d4f090...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaType.java
Log Message:
-----------
add missing @Override annotations
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 3deb8a546713618cf2933cecf41edaf4163b8cba
https://github.com/hibernate/hibernate-orm/commit/3deb8a546713618cf2933ce...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
Log Message:
-----------
Sybase also strips trailing spaces
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/d6e85b0a4451...3deb8a5...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications