Jan Schatteman
ce6850bdfa
Remove 'statementInspectorClass' from @Jpa and refactor its usage to use
...
a @SettingProvider
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-25 18:42:32 +01:00
Andrea Boriero
bdc1e4103d
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-11-24 16:48:43 +01:00
Yoann Rodière
35f374aac7
HHH-14936 Avoid NPE in JdbcConnectionContext's static init
2021-11-22 12:22:07 +01:00
Christian Beikov
b8429bca42
Introduce a proper EmbeddableMappingType for id-class and handle id-class uses uniformly
2021-11-19 16:29:56 +01:00
Andrea Boriero
c1e16b4e4a
Re-enabled additional tests
2021-11-16 13:51:26 +01:00
Andrea Boriero
7dab08448f
Re-enable additional tests
2021-11-15 14:00:52 +01:00
Steve Ebersole
7ce1c673ff
JpaCompliance improvement
2021-11-11 17:03:40 -06: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
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
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
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
Steve Ebersole
0eee5ff5b0
HHH-14905 - Verify that custom JavaType and JdbcType registration combo works
2021-11-05 10:35:21 -05:00
Steve Ebersole
34cdd3077c
HHH-14905 - Verify that custom JavaType and JdbcType registration combo works
2021-11-04 13:11:33 -05:00
Andrea Boriero
67c2c51d47
Re-enabled additional tests
2021-10-25 15:57:39 +02:00
Steve Ebersole
db70fd38dd
HHH-14877 - FetchMode.SUBSELECT ignored
...
Worked on FetchMode.SUBSELECT support but also worked on a few general collection fetch issues and a few improvements
2021-10-21 16:47:20 -05:00
bb7133
5bd27eb853
HHH-14576 : Introduce the dialect for TiDB
2021-10-20 16:19:22 +02:00
Christian Beikov
541302a511
Get rid of most basic type subclasses
2021-10-19 16:33:36 +02:00
Christian Beikov
548df627e6
Implement global configuration and sketch out annotations for time zone storage configuration. Move type tests and add skips for some tests running into H2 bugs. Also, fix some jdbc type assertion tests
2021-10-11 16:11:46 +02:00
Steve Ebersole
ede52e9aba
HHH-14856 - Introduce @CustomType;
...
HHH-14865 - Re-work @Any and @ManyToAny support;
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations
* documentation work
* support for using most of the new mapping annotations related to basic and any mappings as meta-annotations
* support for `@Mutability` on AttributeConverter implementations
* additional tests in the User Guide's BitSet mapping Case Study
2021-10-07 16:46:35 -05:00
Steve Ebersole
9ad34c21d4
HHH-14856 - Introduce @CustomType;
...
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations;
HHH-14865 - Re-work @Any and @ManyToAny support;
* re-use BeanInstanceProducer
* Removed `@CollectionId#type`
* Change `@Any` / `@ManyToAny`
* Removed `@MapKeyType`
* Removed `@TypeDef`
* Removed `@TypeDefs`
* Removed `@Type`
* Removed `@AnyMetaDefs`
* Removed `@AnyMetaDef`
* Removed `@MetaValue`
2021-10-07 10:01:21 -05:00
Christian Beikov
710ebe57b0
Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved
2021-10-07 08:15:53 +02:00
Andrea Boriero
7e92c29515
Fix test creating BootstrapContextImpl twice
2021-10-05 15:39:58 +02:00
Christian Beikov
40ccad1db2
Get rid of deprecated dialect methods, JoinFragment, LegacyLimitHandler, LegacySequenceSupport, CaseFragment, SelectFragment etc.
2021-10-05 15:18:38 +02:00
Christian Beikov
c5baae7e11
Improve SQL rendering performance by avoiding intermediate String objects
2021-10-05 15:18:38 +02:00
Andrea Boriero
8c40de9cff
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_main_7
2021-10-01 11:34:10 +02:00
Steve Ebersole
986d65a288
HHH-14837 - Move to Jakarta EE
...
More settings work
2021-09-28 19:01:28 -05:00
taghizadeh87
87e5de74aa
Fix typo
2021-09-27 17:17:32 +02:00
Steve Ebersole
089a3f86ae
HHH-14837 - Move to Jakarta EE
...
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Andrea Boriero
573d146046
Removed Dialect#areStringComparisonsCaseInsensitive() method
2021-09-25 11:52:03 +02:00
Christian Beikov
905227d2ed
Get rid of unnecessary sql tokens for joins and improve join counting for tests
2021-09-23 18:04:02 +02:00
Christian Beikov
0af8755949
Backport of changes from 6314395edf
on
...
wip/6.0 (Fix connection leaks by properly closing service registries)
2021-09-13 17:32:18 +02:00
Christian Beikov
6314395edf
Fix connection leaks by properly closing service registries
2021-09-09 16:39:31 +02:00
Christian Beikov
dd6efa509b
Introduce internal init_sql config and by default enable ansinull for Sybase ASE
2021-09-02 16:54:46 +02:00
Steve Ebersole
0c674deda5
Query hints
...
+ dropped `AbstractProducedQuery` (no subclasses)
2021-08-23 13:41:41 -05:00
Christian Beikov
89d16bddc8
Switch to case sensitive collations and fix SQL Server issues
2021-08-05 23:35:17 +02:00
Christian Beikov
1fb839b841
Skip some tests for databases that don't support a current_timestamp function with microsecond precision
2021-08-05 09:50:28 +02:00
Christian Beikov
ca22db14bb
Fix some issues with collection-path related HQL functions minindex/maxindex/minelement/maxelement/elements/indices and group by item rendering problems
2021-08-05 09:50:28 +02:00
Christian Beikov
ad49a41cd9
Fix issues with HANA to allow running the testsuite
2021-07-28 16:26:09 +02:00
Steve Ebersole
d16073f7ce
remove dependency on hibernate-core tests from hibernate-envers
2021-07-27 19:38:44 -05:00
Andrea Boriero
77d870f08c
Re-enabled additional tests
2021-07-26 16:43:26 +02:00
Andrea Boriero
96be013089
Re-enabled additional tests
2021-07-26 16:43:26 +02:00
Andrea Boriero
3f7044eebe
Re-enabled additional tests
2021-07-26 16:43:26 +02:00
Andrea Boriero
d6518e0c7a
Re-enabled additional tests
2021-07-08 14:09:46 +02:00
Andrea Boriero
09266c7ae1
Fix RIGHT OUTER attribute-joins are not supported
2021-07-08 11:48:53 +02:00
Christian Beikov
6447ca9b26
HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config
2021-07-06 10:14:20 +02:00
Steve Ebersole
172ddf8700
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Steve Ebersole
a6dc84e1fe
Work on Instantiator in preparation for composite-user-type work
2021-06-24 10:30:31 -05:00
Andrea Boriero
a8cf8165ae
Add version to logic evaluating @SkipForDialect and @RequiresDialect
2021-06-15 18:06:27 +02:00
Andrea Boriero
105f91e910
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-15 11:50:01 +02:00