4884 Commits

Author SHA1 Message Date
Steve Ebersole
94c49aaaa6 HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state 2019-06-14 08:22:07 -05:00
Andrea Boriero
48d88cfef6 HHH-11147 - Add failing test 2019-06-14 12:43:14 +01:00
Steve Ebersole
cc01f2561d HHH-11147 - Allow enhanced entities to be returned in a completely uninitialized state
HHH-11161 - do not force initialize collection at all
2019-06-13 12:52:38 -05:00
John OHara
313f5f7186 HHH-13418 : Revert log level caching 2019-05-29 10:29:12 +02:00
Sanne Grinovero
4be05af86d HHH-13416 Unguarded debug message being rendered in org.hibernate.engine.internal.Collections.processReachableCollection 2019-05-27 16:13:03 +01:00
Gail Badner
b7b8f44298 HHH-13266 HHH-13357 : Skip OffsetTimeTest#nativeWriteThenRead and #writeThenRead in some cases due to HHH-13357
when Time is remapped as Timestamp and default JVM is not GMT
2019-05-01 11:22:16 -07:00
Gail Badner
800b60e648 HHH-13364 : Added a test using a named query 2019-04-17 11:13:23 -07:00
Gail Badner
f62913ba1c HHH-13364 : Query.getSingleResult and getResultList() throw PessimisticLockException when pessimistic lock fails with timeout 2019-04-17 11:13:23 -07:00
Gail Badner
288afa35e0 HHH-13364 : Added test cases 2019-04-17 11:13:23 -07:00
Steve Ebersole
4d79ffb62f HHH-13152 - managed/cached entities and fetching (test case) 2019-04-16 13:45:38 -05:00
Steve Ebersole
73e5688c35 HHH-11223 - minor logging additions plus a test case 2019-04-15 16:11:58 -05:00
Gail Badner
0506b4aa46 HHH-13343 : Bytecode enhancement using ByteBuddy fails when the class is not available from the provided ClassLoader 2019-04-05 13:01:37 -07:00
Gail Badner
a2a5799a13 HHH-13343 : Bytecode enhancement using ByteBuddy fails when the class is not available from the provided ClassLoader 2019-04-05 13:01:37 -07:00
Gail Badner
a2cb264a27 HHH-13343 : test case 2019-04-05 13:01:37 -07:00
Gail Badner
b28dc488a1 HHH-13241 : Fix regression with an uninitialized null many-to-one association 2019-03-20 22:30:42 -07:00
Gail Badner
65eebbb96b HHH-13241 : Added test case with a lazy null many-to-one association 2019-03-20 22:30:42 -07:00
Gail Badner
883465f525 HHH-13326 : Transaction passed to Hibernate Interceptor methods is null when JTA is used 2019-03-20 17:22:43 +01:00
Gail Badner
705ecec94f HHH-13326 : test cases 2019-03-20 17:22:43 +01:00
Guillaume Smet
eca8816ec3 HHH-13324 Install the security manager check layer once and for all
If the security manager is defined later, the checks won't be installed.

The security manager should be defined when starting the JVM.
2019-03-20 14:58:49 +01:00
Johannes Kümmel
3420ac9754 HHH-13330: Fix a minor typo in ManagedBeanRegistryInitiator 2019-03-20 12:12:52 +01:00
Guillaume Smet
9885e2f595 HHH-13312 Add a test case 2019-03-20 00:10:36 -07:00
Taras
d18b46e1fe HHH-13312 Fix an invalid condition in new entity graph code 2019-03-20 00:10:36 -07:00
Gail Badner
634782fef6 HHH-13300 Correctly convert Hibernate exceptions to JPA in executeUpdate() 2019-03-20 08:07:49 +01:00
Gail Badner
5a1efe883e HHH-13300 Test behavior when Query.executeUpdate() throws an exception 2019-03-20 08:07:49 +01:00
Yoann Rodière
4665fd9cd9 HHH-13300 Correctly convert Hibernate exceptions to JPA in getSingleResult() 2019-03-20 08:07:49 +01:00
Yoann Rodière
53f70ab213 HHH-13300 Test behavior when query.getSingleResult() throws an exception 2019-03-20 08:07:49 +01:00
Guillaume Smet
bf78b73aa7 HHH-13241 Comment the test for now
We have issues with this test in both Javassist and ByteBuddy enhancers.
2019-03-19 13:12:57 +01:00
Yoann Rodière
e63449721a HHH-13266 Skip some tests that apparently trigger bugs in HANA 2019-03-19 11:15:18 +01:00
Yoann Rodière
c8f8959033 HHH-13266 Skip tests that involve timestamps before epoch with MySQL/Mariadb 2019-03-19 11:15:18 +01:00
Yoann Rodière
d0668af5d0 HHH-13266 Mark most databases as not supporting nanosecond-precision storage for timestamps
At least PostgreSQL, Oracle, MySQL and HANA don't support it.
2019-03-19 11:15:18 +01:00
Gail Badner
8acdbab275 HHH-13236 Maintain the old behaviour for non-composite types for better backward compatibility 2019-03-14 17:15:00 -07:00
Dmitry Panov
86be5321d8 HHH-13236 Maintain the old behaviour for non-composite types for better backward compatibility 2019-03-14 17:15:00 -07:00
Dmitry Panov
aa2451407e HHH-13236 Honour @Column/insertable on element collections 2019-03-14 17:15:00 -07:00
Yoann Rodière
f94bc0d750 HHH-13266 Test serialization of java.time types when hibernate.jdbc.time_zone is set 2019-03-14 08:53:39 +01:00
Yoann Rodière
08b6775372 HHH-13266 Test OffsetTime serialization 2019-03-14 08:53:39 +01:00
Yoann Rodière
12106ea67a HHH-13266 Test LocalTime serialization 2019-03-14 08:53:39 +01:00
Yoann Rodière
6394d56df5 HHH-13266 Fix LocalDate serialization by using the proper conversion methods between LocalDate and Timestamp 2019-03-14 08:53:39 +01:00
Yoann Rodière
a2bc5b0900 HHH-13266 Test LocalDate serialization when dates are remapped as Timestamp, in particular around 1900-01-01 2019-03-14 08:53:39 +01:00
Yoann Rodière
eebcf6142c HHH-13266 Allow to override the SQL type mappings in AbstractJavaTimeTypeTest 2019-03-14 08:53:39 +01:00
Yoann Rodière
acbefe5f0c HHH-13266 Test reading of values written without Hibernate ORM in AbstractJavaTimeTypeTest 2019-03-14 08:53:39 +01:00
Yoann Rodière
30e50a979c HHH-13266 Add an abstract class for all java.time tests for this ticket
So that we can hopefully factorize the upcoming additions.
2019-03-14 08:53:39 +01:00
Yoann Rodière
dc8a5a88b7 HHH-13266 Fix Instant serialization by using the proper conversion methods between Instant and Timestamp 2019-03-14 08:53:39 +01:00
Yoann Rodière
93d00aee19 HHH-13266 Test Instant serialization, in particular around 1900-01-01 2019-03-14 08:53:39 +01:00
Yoann Rodière
12a67c3780 HHH-13266 Fix ZonedDateTime serialization by using the proper conversion methods between ZonedDateTime and Timestamp 2019-03-14 08:53:39 +01:00
Yoann Rodière
223183a71e HHH-13266 Test ZonedDateTime serialization, in particular around 1900-01-01 2019-03-14 08:53:39 +01:00
Yoann Rodière
f3f167a1a9 HHH-13266 Fix OffsetDateTime serialization by using the proper conversion methods between OffsetDateTime and Timestamp 2019-03-14 08:53:39 +01:00
Yoann Rodière
d96be79d64 HHH-13266 Test OffsetDateTime serialization, in particular around 1900-01-01 2019-03-14 08:53:39 +01:00
Yoann Rodière
a8d48cf691 HHH-13266 Test LocalDate serialization, in particular around 1900-01-01 2019-03-14 08:53:39 +01:00
Gail Badner
99a56c57d5 HHH-13266 Change test to use raw JDBC for executing native query 2019-03-14 08:53:39 +01:00
Yoann Rodière
3fa7f197a1 HHH-13266 Fix LocalDateTime serialization by using the proper conversion methods between LocalDateTime and Timestamp 2019-03-14 08:53:39 +01:00