Commit Graph

10567 Commits

Author SHA1 Message Date
Gail Badner 80a449a1ed HHH-14044 : Extract code from Loader into protected methods 2020-05-29 10:28:16 +01:00
Hannes Rosenögger e8713fd12d HHH-14022 Revert HHH-13322 Fix Oracle dialect's introduced in 5.4.13 that is causing issues with sequence increment determination 2020-05-29 10:14:42 +01:00
Jason Pyeron 340e50ec25 HHH-10956 reduced runtime complexity, added Component.getProperty(int)
Component.getProperty(String) was looping and comparing, but we already now the position of the property
2020-05-29 09:40:08 +01:00
Andrea Boriero 2defb17157 HHH-10956 an exception has to thrown when the composite key is an association and its value is null 2020-05-29 09:40:08 +01:00
Andrea Boriero 38006d2dc7 HHH-10956 Add additional test 2020-05-29 09:40:08 +01:00
Andrea Boriero ed3f59b131 HHH-10956 Moved tests using GenerationType#IDENTITY into another class annotated with @RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class) 2020-05-29 09:40:08 +01:00
Jason Pyeron 013d528916 HHH-10956 put one line if in {} 2020-05-29 09:40:08 +01:00
Jason Pyeron 8b7903dfc4 HHH-10956 added more complext tests with self referential FK
* known issue: HHH-13971, test marked as @Ignore
* added some output debugging to help developers review CI/CD logs
* 8 tests, 1 ignored, 0.745s duration
2020-05-29 09:40:08 +01:00
Jason Pyeron 87cfe33b5c HHH-10956 fixed failed insertion with IdClass with partial identifier generation
* regression introduced by HHH-4848
* AbstractEntityTuplizer lines 179 and 311 formatting issues, preserved
* bug HHH-9662 blocks testing of Identity insertion
2020-05-29 09:40:08 +01:00
Jason Pyeron 77d60e5d6e HHH-10956 created test cases IdClass with partial identifier generatiod, all marked @FailureExpected 2020-05-29 09:40:08 +01:00
Sanne Grinovero d2e2688f89 HHH-14047 Expose some methods of EntityManagerFactoryBuilderImpl to extensions 2020-05-28 22:07:39 +01:00
Sanne Grinovero c59bea5ac4 HHH-14047 Allow customization of the StandardServiceRegistryBuilder by extending the EntityManagerFactoryBuilderImpl 2020-05-28 22:07:33 +01:00
Sanne Grinovero 186c2a80e0 HHH-14046 Allow customizing the type of SessionFactory by changing the initial ServiceInitiator list 2020-05-28 22:07:27 +01:00
Andrea Boriero 27b065c574 HHH-13959 Add nullability and uniqueness for @OneToOne with @JoinTable 2020-05-28 18:40:15 +01:00
Andrea Boriero 5c92d515c6 HHH-13959 Add test for issue 2020-05-28 18:40:06 +01:00
gavinking b4929b3946 HHH-14049 AbstractEntityPersister make three private methods protected for use in Hibernate Reactive 2020-05-28 18:33:27 +01:00
gavinking 3049c0fc8f HHH-14048 Expose lazy property fetching to Hibernate reactive 2020-05-28 18:21:07 +01:00
gavinking 946e867460 expose a private field to Hibernate Reactive
needed to support Criteria queries
2020-05-26 09:53:50 +01:00
Falko Modler f2a72d426a HHH-14030 Gradle: user.language=en to avoid errors on German Win10 2020-05-19 08:35:22 +01:00
Andrea Boriero 40ef9a92a3 HHH-13179 Fix license header 2020-05-18 18:41:51 +01:00
Andrea Boriero 6e13037368 5.4.16 2020-05-18 16:15:58 +01:00
Andrea Boriero 4e77fe06c8 5.4.16 2020-05-18 15:35:37 +01:00
Davide D'Alto b7f120d98c Revert "HHH-13997 Use functions for the creation of ActionQueue and PersistenceContext"
This reverts commit 2eae22d1b9.
2020-05-18 15:03:59 +01:00
Lars Karlström d28f513849 HHH-13179 Fixed code formatting issue 2020-05-18 14:48:11 +01:00
Lars Karlström 48b53cbb80 HHH-13179 Subclass 2nd level caching now works for XML mappings 2020-05-18 14:48:01 +01:00
Sanne Grinovero b28038e53d HHH-14029 Generally improve handling of all post-load events 2020-05-18 14:26:21 +01:00
Sanne Grinovero a40ba7aff7 HHH-14029 Improve 2LC post-load event invocations 2020-05-18 14:26:17 +01:00
Davide D'Alto 2eae22d1b9 HHH-13997 Use functions for the creation of ActionQueue and PersistenceContext 2020-05-18 13:32:19 +01:00
Davide D'Alto c96c998b77 HHH-13997 : Add methods to SessionImpl and StatefulPersistenceContext; make Loader method protected
* Change visibility for Loader#registerNonExists
* Methods for creating PersistenceContext and ActionQueue
* Add StatefulPersistenceContext#initializeNonLazyCollections(Consumer<PersistentCollection> initializeAction)
2020-05-18 13:31:53 +01:00
Davide D'Alto e096ba468c HHH-14024 Fix NativeSQLQueryPlanEqualsTest compilation error 2020-05-18 13:05:56 +01:00
gavinking af050bfb2e HHH-14024 add QueryPlanCreator functional interface
simplifies customization of HQLQueryPlan instantiation
2020-05-18 13:05:56 +01:00
Davide D'Alto 9d908130f2 HHH-14026 Change scope to protected for SessionImple#verifyImmutableEntityUpdate 2020-05-18 13:05:56 +01:00
Davide D'Alto 3540008903 HHH-14025 Add method to return the query statements for update queries 2020-05-18 13:05:56 +01:00
Davide D'Alto a862aed36c HHH-14028 Change scope of various private methods to protected
So that Hibernate Reactive can reuse them.
2020-05-18 13:05:56 +01:00
Davide D'Alto 38d9f3738c HHH-14024 Allow the creation of a different QueryPlanCache 2020-05-18 13:05:56 +01:00
Davide D'Alto e709685e16 HHH-14027 Allow the creation of a different QueryLoader 2020-05-18 13:05:56 +01:00
Davide D'Alto b7a16334a1 HHH-14024 Allow the creation of a different QueryPlan 2020-05-18 13:05:56 +01:00
Sanne Grinovero e2d5ebd7f9 HHH-14019 Adding some comments to the new SPI 2020-05-13 22:37:24 +01:00
gavinking ab085a1765 HHH-14019 Allow customizing the Database target in the Schema Management tool
Add an API allowing Hibernate Reactive to plug in to schema export:
we've decided that HR should not use JDBC for schema export
2020-05-13 22:37:16 +01:00
Sanne Grinovero 30f8105b2f HHH-14004 Attempt to load from 2LC when initializing an Enhanced Proxy 2020-05-13 21:33:58 +01:00
Sanne Grinovero d96a6dc474 HHH-14004 Test for Cacheable Enhanced Proxies 2020-05-13 21:33:52 +01:00
Andrea Boriero 3672d5a295 HHH-13936 Add additional test 2020-05-12 11:10:32 +01:00
Jonathan Bregler 0ec324540e HHH-13996: Update documentation for HANA Cloud 2020-05-11 22:39:41 +01:00
Sanne Grinovero 18611d540a HHH-14012 Upgrade to Hibernate Validator 6.1.5.Final 2020-05-11 18:39:23 +01:00
michiel.hendriks da999ccd0f HHH-13936 Call pulseTransactionCoordinator before checking for transaction in flush() 2020-05-11 16:15:17 +01:00
Gail Badner 3e53cf2d64 5.4.15 2020-04-30 14:45:23 -07:00
Gail Badner 979528e913 5.4.15 2020-04-30 13:29:18 -07:00
Sanne Grinovero c38be8061d HHH-13995 Remove dead code from StandardBasicTypes 2020-04-30 17:16:07 +01:00
Sanne Grinovero 3c48f8cb5b HHH-13994 Bootstrap analysis: avoid initializing unused JtaPlatform classes 2020-04-30 17:15:50 +01:00
Sanne Grinovero bbdefc2487 HHH-13993 Bootstrap analysis: avoid initializing many Dialect classes 2020-04-30 17:15:08 +01:00