Commit Graph

10567 Commits

Author SHA1 Message Date
Guillaume Smet 823a5c1ede Prepare for next development iteration 2019-03-21 18:32:23 +01:00
Guillaume Smet 08e9d01caa 5.4.2.Final 2019-03-21 16:05:07 +01: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
Thomas Bürli 926e1da2d5 HHH-13332 Update c3p0 to 0.9.5.3
Update c3p0 dependency to addresses the XXE vulnerability (CVE-2018-20433)
2019-03-20 21:40:27 +01: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
Yoann Rodière 10f2bca075 HHH-13266 Test LocalDateTime serialization, in particular around 1900-01-01T00:00:00 2019-03-14 08:53:39 +01:00
Gail Badner 980f24916c HHH-13241 : Constraint violation when deleting entites in bi-directional, lazy OneToMany association with bytecode enhancement 2019-03-12 10:35:15 -07:00
Yoann Rodière 69a1c2cc08 HHH-13309 Test both the legacy and newer ExtendedBeanManager interfaces 2019-03-11 17:42:33 +01:00
Yoann Rodière b79d0f9628 HHH-13309 Relax constraints on the accepted extended bean manager type 2019-03-11 17:42:33 +01:00
Gail Badner 8dbd6a234b HHH-12653 : Add HHH-12653 to 5.4.0.CR1 changelog.txt (it was inadvertantly left out before) 2019-03-07 14:25:49 -08:00
Karel Maesen b856a85520 HHH-13257 - Adds MySQL8 Spatial Dialect 2019-03-07 22:56:22 +01:00
Karel Maesen 3a4ade9799 HHH-10148 - Fix checkstyle errors 2019-03-07 21:28:37 +01:00
Karel Maesen 73d2a87148 HHH-10148 - Update dockers for matrix testing (Spatial) 2019-03-07 20:10:08 +01:00
Karel Maesen f68d08abc1 HHH-10148 - SpatialDialect for SqlServer2012 2019-03-07 20:04:06 +01:00
Karel Maesen e722555a56 Update spatial matrix test configs 2019-03-07 19:51:31 +01:00
Gail Badner 59749984cb HHH-13217 : Correct warning and update test to fail if the query succeeds 2019-03-06 18:20:51 -08:00