Commit Graph

12092 Commits

Author SHA1 Message Date
Andrea Boriero bdc08af163 HHH-11817 Add test for issue 2021-06-21 08:44:46 +02:00
Andrea Boriero 8fc45a9004 HHH-11817 Allow schema-export commands written to file to truncate in addition to current appending 2021-06-21 08:44:46 +02:00
Andrea Boriero 8e3e119d7d Re-enable additional tests 2021-06-17 15:02:42 +02:00
Christian Beikov ee07497e85 Disable parallel build until we introduce a BuildService for the database 2021-06-17 13:16:55 +02:00
Christian Beikov 2527e6b56a * Fix issues with order by fragments for collections
* Fix quite a lot of caching and related statistics use cases
* Support selecting ToOne- and PluralAttributeMappings in LoaderSelectBuilder
* Fix multiple bag role handling in LoaderSelectBuilder
* Fix dynamic batch id entity loader problems
* Simplify lock handling and cache JdbcSelect for SingleIdLoadPlan
* Add support for, but at the same time deprecation-warn about component mappings with different structure but same Java type. See HHH-14660
* Fix enhancement issues and implement support for property laziness
* Implement association key access for both sides of the FK
* Fix subpart access for nullable + TARGET side ToOneAttributeMapping
* Pass through fetch timing to CircularFetch to respect fetch profiles
* Respect fetch profiles for CollectionLoader and SingleIdLoadPlan
* Support group by and order by for entity and embeddable paths/joins
* Don't apply lock clause for LockMode.READ and less
* Change result type for round to argument type
* Fix inference for tuple parameter elements when comparing against embeddables

a
2021-06-17 13:16:55 +02:00
Christian Beikov db6701cc93 Move annotations, bytecode, cache, cascade, cdi, cfg, cid, component, compositeelement, customstructures, deletetransient, dialect, dirtyness, entitymode, exceptionhandling, extendshbm, fetchprofiles, fetchstrategyhelper, flush, foreignkey, generatedkeys, hbm, hql, jpa, mapping packages. 2021-06-17 13:16:55 +02:00
Hibernate-CI fe3b6690c1 fixes to in-line jakarta transformation tasks
- fix path replacements (test bundles)
- drop inaccurate attempts to access javadoc/sources jar tasks and outputs for jakarta projects - they are not producing them (alternatively, and eventually will have to, we could have them produce those artifacts)
- skip jakarta modules for aggregated javadoc building
2021-06-16 09:55:38 -05:00
Steve Ebersole 4734897601 Enable more tests 2021-06-16 09:21:48 -05:00
Andrea Boriero 3172d52deb Fix Jakarta test failures 2021-06-16 09:57:42 +02:00
Christian Beikov 107849c3c8 Fix jakarta sources transformation issues 2021-06-16 08:37:14 +02:00
Steve Ebersole e4120234d3 * HHH-14634 : Gradle Enterprise
* fixed problem in release.gradle that caused "configuration phase" to take much longer than it should
   * parallelized the build
* Initial TREAT tests
* fixed bug in `hibernate-core-jakarta.gradle` related to JPA packaged test bundle handling
2021-06-15 13:50:01 -05:00
Steve Ebersole f02ba820e5 Migrating tests from o.h.event 2021-06-15 13:44:05 -05:00
Andrea Boriero d640662435 Pass UniqueSemantic enum to SingleIdLoadPlan#load method and refactoring of ListResultConsumer#consume() method 2021-06-15 18:06:27 +02:00
Andrea Boriero d1bc4e6a33 Use JTD to compare row results in ListResultConsumer 2021-06-15 18:06:27 +02:00
Andrea Boriero a8cf8165ae Add version to logic evaluating @SkipForDialect and @RequiresDialect 2021-06-15 18:06:27 +02:00
Andrea Boriero 39d5d344fb Fix throw exception when more than one row with the given identifier was found and re-enabled additiona tests 2021-06-15 18:06:24 +02:00
Andrea Boriero babefc8b9d Fix AbstractEntityPersister#findSubpart returning the wrong ModelPart when the Entity has an attribute named id that it is not the identifier 2021-06-15 17:48:35 +02:00
Andrea Boriero 0e6561baf4 Fix AbstractEntityPersister#findSubpart returning the wrong ModelPart when the Entity has an attribute named id that it is not the identifier 2021-06-15 17:48:35 +02:00
Andrea Boriero 055ba6da71 Fix many-to-many wrong table for order column 2021-06-15 17:46:12 +02:00
Andrea Boriero 105f91e910 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-15 11:50:01 +02:00
Sanne Grinovero 9630ca9a7f Actually next will be 5.5.3-SNAPSHOT 2021-06-14 20:26:08 +01:00
Hibernate-CI d345516ab8 5.5.2-SNAPSHOT 2021-06-14 15:45:29 +00:00
Hibernate-CI 1b1a6e7c1c 5.5.2.Final 2021-06-14 15:40:24 +00:00
Markus Heiden 26038d1b00 HHH-14657 Use the compile instead of runtime classpath
The runtime classpath contains the dependencies as jars that are not yet built when the plugin needs them. So use the compile classpath plus the compiled classes of the current project.
2021-06-14 16:30:32 +01:00
Markus Heiden 423b13b50a HHH-14657 Use the compile instead of runtime classpath
The runtime classpath contains the dependencies as jars that are not yet built when the plugin needs them. So use the compile classpath plus the compiled classes of the current project.
2021-06-14 16:30:32 +01:00
Steve Ebersole f91fe03352 HHH-14679 - Deprecate ResultSetWrapper and friends 2021-06-14 16:25:00 +01:00
Sanne Grinovero e2f24c5436 HHH-14667 Maintain backwards compatibility for Hibernate Reactive 2021-06-14 16:23:45 +01:00
Steve Ebersole 5617ce056d Migrating tests 2021-06-11 14:15:31 -05:00
Steve Ebersole e4d61a7c62 HHH-14678 - Drop ResultSetWrapper and friends 2021-06-11 12:02:47 -05:00
Steve Ebersole f618b47db4 HHH-14634 : Gradle Enterprise
- re-enable `publishAlways` in addition to `publishIfAuthenticated`
2021-06-11 11:28:09 -05:00
Steve Ebersole 2967f6b40b HHH-14634 : Gradle Enterprise
- temporarily move `publishAlways` to just CI runs until Gradle can clarify how to use that when users are not authenticated; I was originally told that `publishAlways` would simply skip publishing if credentials are not present, but that is clearly not the case
2021-06-11 10:20:34 -05:00
Sanne Grinovero ee55768587 HHH-14667 SequenceFilterTest only needs to be run on H2 2021-06-11 11:55:46 +01:00
Sanne Grinovero 5b2289e883 HHH-14667 Avoid triggering the load of sequence metadata when not required
Also introduce SequenceMismatchStrategy#NONE, which allows to fully disable the checks
performed by SequenceMismatchStrategy on initialization; combining these two
changes, users have the option to fully skip loading the details about existing
sequences from the DB.
2021-06-11 11:55:46 +01:00
Sanne Grinovero ab8c81482c HHH-14667 Remove also ExtractedDatabaseMetaData#getExtraKeywords() as it's unused as well 2021-06-11 11:55:46 +01:00
Sanne Grinovero 8f765eeff8 HHH-14667 Remove also unused: ExtractedDatabaseMetaData#getTypeInfoSet() and doesLobLocatorUpdateCopy() 2021-06-11 11:55:46 +01:00
Sanne Grinovero c10493435e HHH-14667 Skip loading all keywords from the DB when keyword auto-quoting is disabled 2021-06-11 11:55:46 +01:00
Sanne Grinovero fd35857284 HHH-14667 Remove some dead code 2021-06-11 11:55:46 +01:00
Sanne Grinovero f8da005f3a HHH-14667 Remove extraction of TypeInfo from the Database JDBC metadata as it's unused 2021-06-11 11:55:46 +01:00
Andrea Boriero 8002b188bb HHH-14649 Oracle limit handler create wrong sql query when multiple spaces are present in the query 2021-06-10 23:31:26 +01:00
Andrea Boriero bbc2ecb484 HHH-14649 Add test for issue 2021-06-10 23:31:26 +01:00
Christian Beikov d60dc9255d HHH-14660 Deprecate component mappings with different attributes for the same class 2021-06-10 12:48:21 +02:00
Andrea Boriero 6d59fec436 Merge remote-tracking branch 'upstream/main' into wip/6.0 2021-06-10 09:52:24 +02:00
Yoann Rodière 916bcbdef0 HHH-14659 Fix "join fetch" on mapped-by association being ignored when using bytecode enhancement 2021-06-09 17:02:39 +02:00
Yoann Rodière 50b8ad1f2b HHH-14659 Test query "join fetch" on lazy to-one associations with bytecode enhancement 2021-06-09 17:02:39 +02:00
Yoann Rodière 0eb187fae4 HHH-14659 Test join fetch correctly in HHH3949Test 2021-06-09 17:02:39 +02:00
Christian Beikov 5e0864729b Update H2 to 1.4.200. Replace LockMode in Fetch and DomainResult with the source alias to resolve lock mode during initializer creation. Introduce notion of aggregate function with an optional filter clause. Implement support for rendering locks into SQL. Move locking tests to orm package 2021-06-09 16:41:23 +02:00
Christian Beikov 66ae1c9557 HHH-14665 Fix schema generation test missing the default semi-colon in comments 2021-06-08 23:05:51 +02:00
Christian Beikov 10cba26bda HHH-14665 Use semi-colon as the default statement delimiter for scripts 2021-06-08 20:49:39 +02:00
Sanne Grinovero 6155f95cf7 HHH-14661 GraalVM support should not register ANTLR parser nodes when the Parser isn't reacheable 2021-06-08 17:07:02 +01:00
Sanne Grinovero 40ed10e9fa HHH-14662 Remove unnecessary statuful lambda instances from StatisticsImpl 2021-06-08 15:55:09 +01:00