Commit Graph

5458 Commits

Author SHA1 Message Date
Oliver Saggau 6027fe1eea HHH-14071 Fix binding for FetchProfile for OneToOne(mappedBy=...) associations 2020-07-22 10:12:35 +02:00
Gittenburg 33e51c0c47 HHH-14041 - H2Dialect: fix referential integrity constraint constraint name extraction 2020-07-21 20:28:00 +02:00
gajendra.jatav 0eca528cc5 HHH-13410 Adding test case 2020-07-21 19:27:22 +02:00
gajendra.jatav 41b57a9cf9 HHH-13410 Option "order_inserts = true" causes FK Violation when inserting with a Unidirectional Relations between 4 Entities 2020-07-21 19:27:14 +02:00
katiforis 88381a58c8 HHH-14093 Make StatefulPersistenceContext#registerInsertedKey and StatefulPersistenceContext#wasInsertedDuringTransaction use HashSet instead of ArrayList 2020-07-21 17:43:03 +02:00
Sanne Grinovero 1ce322bceb HHH-13926 Test for the issue 2020-07-21 15:15:02 +02:00
Sanne Grinovero ccc99c972c HHH-13926 Remove no longer used parameters 2020-07-21 15:14:53 +02:00
Sanne Grinovero 061a85e631 HHH-13926 Propagate the original SQL to the Expectation so it can be logged 2020-07-21 15:14:43 +02:00
Sanne Grinovero 3ea0c5afe6 HHH-13926 Extract JdbcObserver lookup from the batching loop 2020-07-21 15:14:32 +02:00
Gail Badner b4b5a6f379 HHH-12268 : LazyInitializationException thrown from lazy collection when batch fetching enabled and owning entity refreshed with lock
(cherry picked from commit 06c78087ff)
2020-07-17 09:19:01 -07:00
Gail Badner f13cdcf2c9 HHH-12268 : Added test case
(cherry picked from commit f5d710b97d)
2020-07-17 09:19:01 -07:00
Andrea Boriero 6f3d60820c HHH-14108 PADDED and DYNAMIC Batch loading strategies not compatible with the Enhanced Proxy feature 2020-07-16 16:54:21 +01:00
Andrea Boriero 83404586ea HHH-14108 Add test for issue 2020-07-16 16:53:51 +01:00
Jens Borrmann 7698fc1707 HHH-14106 - Return entry from `#parentsByChild` in `StateFulPersistenceContext#getParentsByChild`
(cherry picked from commit 3159c8ff78)
2020-07-15 07:24:19 -05:00
Andrea Boriero ef8e028ded HHH-13214 Delete re-firing SQL from previous calls 2020-07-15 09:52:32 +01:00
Andrea Boriero 3553576236 HHH-13214 Delete re-firing SQL from previous calls 2020-07-15 09:52:25 +01:00
lining 0b71131136 HHH-13214 Delete re-firing SQL from previous calls 2020-07-15 09:52:18 +01:00
Nathan Xu 0614bfe3b8 HHH-14097 fix bug that redundant SQLs might be issued for 'FETCH' entity graph 2020-07-09 14:10:53 +01:00
Sanne Grinovero 115b5b9976 HHH-14096 Moving the XMLHelper from ORM core into testsuite helpers 2020-07-07 09:43:00 +01:00
Sanne Grinovero 77ee4529a6 HHH-14096 Remove unused import for deprecated type XmlDocument and dom4j 2020-07-07 09:42:55 +01:00
Xavier Dury efe151daa9 HHH-13931 MissingFormatArgumentException in JpaCompliantLifecycleStrategy.BeanImpl 2020-07-06 13:37:45 +01:00
yuanhang zheng 27bb8980d0 HHH-14059 Cannot use full qualified enum name which has two uppercase alphabet prefix 2020-07-06 12:54:17 +01:00
Lefteris Katiforis ebdc5681b9 HHH-14021 - Add Java Type byte to JDBC Type TINYINT mapping as described in specification in TABLE B-2. 2020-07-06 11:09:22 +01:00
Falko Modler 8b78ad7685 HHH-14023 H2Dialect: adjust NUMERIC, DECIMAL & VARBINARY for 1.4.201+ 2020-06-22 11:38:16 +01:00
Falko Modler a5b1d4ea07 HHH-14023 H2Dialect: SequenceInformationExtractorLegacyImpl for 1.4.201+ 2020-06-22 11:38:06 +01:00
Andrea Boriero b2ba06e231 HHH-14077 PostgreSQL, skip testLiteralProjectionAndGroupBy (PostgreSQL does not support literals in group by statement) 2020-06-22 10:54:36 +01:00
Gail Badner e0e22ea256 HHH-14077 : CVE-2019-14900 SQL injection issue using JPA Criteria API 2020-06-22 10:54:35 +01:00
Gail Badner b038e24c08 HHH-14077 : Added test case 2020-06-22 10:54:35 +01:00
Gail Badner 99c56527c8 HHH-14075 Changes to loaders and TwoPhaseLoad to allow "internal" loading to be reused by hibernate-reactive 2020-06-22 10:04:16 +01:00
Andrea Boriero 18407c954b HHH-14081 CompositeIdFkGeneratedValueIdentityTest and CompositeIdFkGeneratedValueTest failures on Oracle db 2020-06-19 15:27:45 +01:00
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
Andrea Boriero 40ef9a92a3 HHH-13179 Fix license header 2020-05-18 18:41:51 +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