Andrea Boriero
8042cc2cdb
Implemented BasicValue#accept method
2021-11-16 13:51:26 +01:00
Andrea Boriero
115234e70e
Fix lazy toOne mappedby proxy generation
2021-11-16 13:51:26 +01:00
Andrea Boriero
c1e16b4e4a
Re-enabled additional tests
2021-11-16 13:51:26 +01:00
Andrea Boriero
2e74d026f2
Merge branch 'wip/6.0_merge_main' into wip/6.0
2021-11-16 09:28:40 +01:00
Andrea Boriero
0c0fab9cef
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_main
2021-11-16 09:27:42 +01:00
Maciej Walkowiak
3845d2f97f
Refer correct entity in "Composite identifiers with associations" section
...
Code sample uses `Book` entity instead of `PersonAddress`.
2021-11-16 08:47:03 +01:00
Björn Kautler
fa3a364b79
Fix dead link in documentation
2021-11-16 08:46:07 +01:00
Jan Schatteman
37703e2e4c
Remove deprecated properties from AvailableSettings ( #4362 )
...
* Remove deprecated ACQUIRE_CONNECTIONS and RELEASE_CONNECTIONS from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated PROXOOL_PREFIX and PREFER_POOLED_VALUES_LO from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-15 23:03:16 +01:00
Christian Beikov
3e97b1c205
Unify parameter type resolving
2021-11-15 16:17:11 +01:00
Karel Maesen
f967e16fee
HHH-14925 Using JavaTypeRegistry#findDescriptor()
2021-11-15 16:17:11 +01:00
Karel Maesen
8a96c4e7c7
HHH-4925 Minor fixes
2021-11-15 16:17:11 +01:00
Karel Maesen
fa48448f77
HHH-14925 Fix type resolution in SqmCriteriaNodeBuilder
2021-11-15 16:17:11 +01:00
Karel Maesen
64331aada6
Fix documentation issues
2021-11-15 16:17:11 +01:00
Karel Maesen
5a7ad6d11c
HHH-14925 Add additional unit tests.
2021-11-15 16:17:11 +01:00
Karel Maesen
0300e54fef
HHH-14925 Remove deprecated BasicType implementations
2021-11-15 16:17:11 +01:00
Karel Maesen
f4909b7046
Downgrade H2
2021-11-15 16:17:11 +01:00
Karel Maesen
e48da8d52c
HHH-14925 Switch for Postgis to javatype/jdbctype
...
Also some documentation improvements and dead code removal.
2021-11-15 16:17:11 +01:00
Karel Maesen
cf477a61ff
HHH-14803 Use MySQLGeometryJdbcType for MariaDB
2021-11-15 16:17:11 +01:00
Karel Maesen
54967d0265
HHH-14804 Various improvements
2021-11-15 16:17:11 +01:00
Karel Maesen
022d2c0a13
HHH-14906 Fix naming inconsistencies
...
Also fixes some minor checkstyle violations and
removes dead code
2021-11-15 16:17:11 +01:00
Karel Maesen
65aa8f7a5b
HHH-14804 Upgrade MySQL8 support
2021-11-15 16:17:11 +01:00
Karel Maesen
2deee38103
HHH-14906 Support for H2GIS
...
Notice that the tests cannot be run from the gradlew cli due to
compatability issues with the H2 version
2021-11-15 16:17:11 +01:00
Karel Maesen
9f70a6b100
HHH-14804 Upgrade MySQL spatial support (WIP)
2021-11-15 16:17:11 +01:00
Karel Maesen
0636f1de14
HHH-14803 Upgrade MariaDB Spatial support
2021-11-15 16:17:11 +01:00
Fabio Massimo Ercoli
a7167e2a48
Allow fetching nested unique keys
2021-11-15 14:36:34 +01:00
Fabio Massimo Ercoli
e10eaf3ef4
Test query entity with mapped by embedded
2021-11-15 14:36:34 +01:00
Andrea Boriero
7dab08448f
Re-enable additional tests
2021-11-15 14:00:52 +01:00
Andrea Boriero
1b879a65f0
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-11-15 13:52:08 +01:00
Ratul sharker
b125d13ede
HHH-14916 : test case written.
2021-11-15 13:43:37 +01:00
Ratul sharker
1a641695fa
HHH-14916 : inside `renderFetches`, `renderJoins` called if the `fetch` is `instanceof` `Form` interface.
2021-11-15 13:43:37 +01:00
nathan.xu
76eeb6fb5e
HHH-14926 fix ascii error in 'test-case-guide.adoc'
2021-11-15 13:19:07 +01:00
Steve Ebersole
7b1201d542
Some pre-work for embeddable instantiator work.
2021-11-12 11:56:50 -06:00
Jan Schatteman
db12d5a17a
Remove deprecated JPA_METAMODEL_GENERATION and JPA_METAMODEL_POPULATION from AvailableSettings
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-12 14:57:52 +01:00
Christian Beikov
60a3c08563
Downgrade H2 to 1.4.197 for testing and to allow usage of H2GIS
2021-11-12 12:09:49 +01:00
Steve Ebersole
3f7536a94e
The JPA TCK tests expect very specific things regarding a negated predicate node.
2021-11-11 18:03:28 -06:00
Steve Ebersole
7ce1c673ff
JpaCompliance improvement
2021-11-11 17:03:40 -06:00
Christian Beikov
6c816932ed
Fix generated values fetching for component attributes and implement identity select for Oracle
2021-11-11 15:49:30 +01:00
Christian Beikov
9a329f4991
Various fixes and move tests from test.jpa
...
* Remodel `@MapKey` support to not create subqueries in the on-clause anymore
* Make sure the index table group is reused for the to-one association a `@MapKey` refers to
* Consistently register collection part table groups
* Implement support for FK optimization for EntityCollectionPart
2021-11-11 15:49:30 +01:00
Christian Beikov
38d1c122eb
Various fixes and move tests from test.jpa
...
* Implement parameter list expansion for native queries
* Fix empty subselect fetched collection initialization
* Implement support for nested table group joins to allow joins on the map-key
* Replace `getTableReference` with `resolveTableReference` where appropriate to distinguish which calls can cause table reference joins to be created
* Fix some table reference resolving issues with inverse embeddable model parts
* Use a Fetch for entity ids instead of a DomainResult
* Fix bidirectional fetching for collection initializtion
* Implement table reference join pruning for treat usages
* Implement strict JPA compliance for different parameter styles
* Ensure From nodes in Criteria are unique
* Add unique key support to DelayedEntityFetch
* Check if FetchParent is enhanced for lazy loading for DelayedEntityFetch
* Register entity instances under all possible EntityUniqueKey
* Introduce EntityJavaTypeDescriptor that implements equality based on object identity
2021-11-11 15:49:30 +01:00
Christian Beikov
24c758c2e9
Do not alter the join type anymore for non-real table groups that have table reference joins. Handle nullable key tables for to-ones properly and implement bidirectional one-to-one fetching optimization
2021-11-11 15:49:30 +01:00
Christian Beikov
45c891a75a
Use emailext in Jenkins pipeline to notify explicit people
2021-11-11 15:49:30 +01:00
Christian Beikov
e5a78f0ee5
Add test exclusion property handling to jakarta module
2021-11-11 14:14:44 +01:00
Jan Schatteman
723735ca76
Use org.hibernate.testing.orm.junit.RequiresDialect instead of org.hibernate.testing.RequiresDialect and indicate Dialect version where needed.
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-10 22:53:29 +01:00
Jan Schatteman
c4401452dd
Enable a SettingProvider[] in @Jpa and refactor away the NonStringValueSettingProvider class
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-10 22:53:29 +01:00
Steve Ebersole
f935d2b8e1
HHH-14923 - Allow CriteriaQuery to determine its "return type" as part of setting the selection
2021-11-10 09:12:53 -06:00
Jan Schatteman
2d38df66fd
Updated test to JUnit5 to remove reference to Dialect subclass
...
Moved it back for now to the old location, since it fails with a
non-related error that will have to be looked at as soon as there is an
implementation for composite sub-types
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-10 08:37:29 +01:00
Steve Ebersole
599b0ba39f
HHH-14919 - Improve handling for java.sql.Date, Time and Timestamp
2021-11-09 07:18:09 -06:00
Andrea Boriero
9c9a326ae6
Fix Dialect#BatchLoadSizingStrategy#determineOptimalBatchLoadSize taking into account org.hibernate.cfg.AvailableSettings#IN_CLAUSE_PARAMETER_PADDING
2021-11-09 12:16:41 +01:00
Andrea Boriero
53ad8d36e2
HHH-14876 Fix BatchLoadSizingStrategy#determineOptimalBatchLoadSize()
2021-11-09 12:16:41 +01:00
Andrea Boriero
f9d0b7d069
HHH-14876 Parameter padding for IN clauses doesn't work in Hibernate 6.0.0.Beta1
2021-11-09 12:16:41 +01:00