Commit Graph

4869 Commits

Author SHA1 Message Date
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
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 59749984cb HHH-13217 : Correct warning and update test to fail if the query succeeds 2019-03-06 18:20:51 -08:00
Vlad Mihalcea 5b11014c7c HHH-13217 - Don't throw exception if both @MappedSuperclass and @Inheritance are used
Make sure the @Inheritance annotation is ignored when used along with @MappedSuperclass
2019-03-06 18:20:51 -08:00
Sanne Grinovero f086821abd HHH-13305 Deprecate public static helpers returning the current Dialect 2019-03-06 13:19:06 +00:00
Sanne Grinovero 271bf2d4cd HHH-13304 MySQLDialect shouldn't access System Properties 2019-03-06 13:19:06 +00:00
Sanne Grinovero d353a10382 HHH-13306 And remove the unused LOG instance as well 2019-03-06 12:51:48 +00:00
Jonas Fügedi 30f560f94f HHH-13306 Remove verbose logging from the standard ExceptionMapper 2019-03-06 12:51:39 +00:00
David Steinkopff d8faee0d2c HHH-13233 Add missing implementation to add attribute to subgraphs 2019-03-04 10:42:23 +01:00
Guillaume Smet 89f523c87f HHH-13277 Add a couple of comments 2019-03-04 10:27:42 +01:00
Yoann Rodière 38a0cd2690 HHH-13277 Simplify HibernateMethodLookupDispatcher 2019-03-04 10:27:42 +01:00
Guillaume Smet 0b3babe4fb HHH-13277 Make HibernateMethodLookupDispatcher less fragile
And less dependent of the JVM.
2019-03-04 10:27:42 +01:00
Gail Badner 6fba4c1035 HHH-13285 : ClassCastException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory after dom4j update 2019-02-25 12:20:36 -08:00