Commit Graph

17770 Commits

Author SHA1 Message Date
Andrea Boriero 225740bce5 HHH-17587 Setting to null a property from a @SecondaryTable and @DynamicUpdate deletes the whole entry from database 2024-01-30 17:29:08 +01:00
Andrea Boriero 663e5c0206 HHH-17587 Add test for issue 2024-01-30 17:29:08 +01:00
Yoann Rodière 1ac21756c6 HHH-17683 Reproducer for jpamodelgen generating wrong constructor for metamodel of entities whose methods contain a `static EntityManager getEntityManager()` 2024-01-30 12:44:54 +01:00
Marco Belladelli b499523fff HHH-17666 Fix trunc function argument type resolver 2024-01-30 10:37:45 +01:00
Gavin King c829d9e5bf HHH-17683 never look for session getters in mapped superclasses or embeddables 2024-01-29 21:18:15 +01:00
Christian Beikov 6ece032b02 HHH-17675 Add migration guide entry for enum mapping change on H2 2024-01-29 12:27:24 +01:00
dependabot[bot] 60bb22d1c4 Bump com.gradle.enterprise from 3.16.1 to 3.16.2
Bumps com.gradle.enterprise from 3.16.1 to 3.16.2.

---
updated-dependencies:
- dependency-name: com.gradle.enterprise
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 11:04:47 +01:00
Marco Belladelli b15ca559d6 HHH-17679 Fix unnecessary table reference resolution for treat 2024-01-26 17:24:01 +01:00
Marco Belladelli 9faa764c20 HHH-17679 Add test for issue 2024-01-26 17:24:01 +01:00
Christian Beikov 3aed69245f HHH-17681 Restore AbstractSqmSelfRenderingFunctionDescriptor backwards compatibility 2024-01-26 17:10:26 +01:00
Steve Ebersole 81ff3dd656 Populate remote Gradle build cache from CI jobs 2024-01-26 08:12:38 -06:00
Christian Beikov 7ef13e1f91 HHH-15086 Introduce configurable query cache layout 2024-01-26 11:01:03 +01:00
Yanming Zhou df93517e1d HHH-14429 Restore <fileset/> support for ant enhance task
fix regression introduced by HHH-11795
2024-01-26 10:59:31 +01:00
Gavin King 78990a7910 HHH-17677 handle literal null arguments more elegantly in StandardFunctionReturnTypeResolvers
resolves a very confusing error message
2024-01-25 18:29:05 +01:00
Andrea Boriero e90dba2c98 HHH-17668 NullPointerException when refreshing bytecode-enhanced entity from second-level cache 2024-01-25 18:24:11 +01:00
Andrea Boriero 08ffae74eb HHH-17668 Add test for issue 2024-01-25 18:24:11 +01:00
Marco Belladelli 7686b6063b HHH-17113 Fix joined inheritance and force discriminator pruning 2024-01-25 18:22:56 +01:00
Marco Belladelli ebdd267a9e HHH-17113 Add test for issue 2024-01-25 18:22:56 +01:00
HJK181 c2b23508f7 HHH-17675 add enum type support to H2LegacyDialect 2024-01-25 11:14:57 +01:00
HJK181 43e925b6b4 HHH-17675 add enum type support to H2Dialect 2024-01-25 11:14:57 +01:00
Marco Belladelli 11015687c8 HHH-17629 Reuse compatible joins for entity graphs and fetch profiles 2024-01-24 18:32:50 +01:00
Marco Belladelli e417dbe0ca HHH-17629 Add test for issue 2024-01-24 18:32:50 +01:00
Andrea Boriero 3fb4a8d596 HHH-17674 NullPointerException thrown when loading entity previously evicted and proxied 2024-01-24 18:29:57 +01:00
Andrea Boriero a350311515 HHH-17674 Add test for issue 2024-01-24 18:29:57 +01:00
Andrea Boriero 7e0cdf5d06 HHH-16960 OneToOne lazy loading fails when fetch graph is involved 2024-01-24 11:04:37 +01:00
Andrea Boriero b813d9b652 HHH-16960 Add test for issue 2024-01-24 11:04:37 +01:00
Christian Beikov df38095709 HHH-17670 Test and fix for NPE in FromClause#findTableGroup 2024-01-24 10:53:12 +01:00
Jan Schatteman fc3f975f0b HHH-17673 - allow the use of StatementInspector with stateless sessions
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-01-24 10:51:39 +01:00
Marco Belladelli 34a66fcbfa HHH-17667 Fix pruning of root table with discriminator predicate 2024-01-23 17:49:15 +01:00
Marco Belladelli a539fe7e46 HHH-17667 Add test for issue 2024-01-23 17:49:15 +01:00
Andrea Boriero f24669ca93 HHH-17420 JoinColumn throws an AnnotationException 2024-01-23 15:30:06 +01:00
Andrea Boriero 2ae10fafd2 HHH-17420 Add test for issue 2024-01-23 15:30:06 +01:00
Andrea Boriero 79a4c3194a HHH-17644 Mapping of generic types in single table inheritance depends on lexicographical order of parent and child classnames 2024-01-23 15:29:25 +01:00
Andrea Boriero 77ed492ea0 HHH-17644 Add test for issue 2024-01-23 15:29:25 +01:00
Marco Belladelli 8dc7824b1d HHH-17550 Respect default no-constraint setting 2024-01-22 18:38:15 +01:00
Marco Belladelli d7e3217494 HHH-17550 Add test for issue 2024-01-22 18:38:15 +01:00
Marco Belladelli f8d84f9f7f HHH-17598 Allow array typed queries without result wrapping 2024-01-22 18:33:40 +01:00
Gavin King 2f60e08c64 add a NOTE to make something clearer 2024-01-22 18:30:20 +01:00
dependabot[bot] 7d08f94429 Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 18:29:00 +01:00
Andrea Boriero ca02c2f3f8 HHH-17634 Merging a new entity having a @GeneratedValue id should not set the generated id of the original entity 2024-01-22 18:28:00 +01:00
Andrea Boriero a4dc0b09a9 HHH-17634 Add test for issue 2024-01-22 18:28:00 +01:00
Marco Belladelli 84726a5772 HHH-17526 Throw correct exception when reading list results 2024-01-22 13:33:25 +01:00
Marco Belladelli ea90b86f9f HHH-17526 Add test for issue 2024-01-22 13:33:25 +01:00
Marco Belladelli 9c95dfca08 HHH-17605 Fix native query selecting multiple of the same entity result 2024-01-22 13:22:14 +01:00
Marco Belladelli cd0c19b7e6 HHH-17461 Include soft-delete column in duplication check 2024-01-22 13:20:15 +01:00
Sanne Grinovero 705e70fd36 HHH-17659 Review default logging verbosity of BeansMessageLogger 2024-01-22 13:09:19 +01:00
Andrea Boriero 090062220c HHH-17653 - Error in generating schema when @Generator annotation is applied to a non id embeddable property 2024-01-22 13:02:57 +01:00
Andrea Boriero 91b88bb0ad HHH-17653 Add test for issue 2024-01-22 13:02:57 +01:00
Marco Belladelli dd5797baf1 HHH-17643 Remove unused internal BytecodeProviderInitiator method 2024-01-22 08:51:21 +01:00
Marco Belladelli 5587badf3f HHH-17643 Load `BytecodeProvider` as a java service
Also allow `SerializableProxy` deserialization even when no session factory is available.
2024-01-22 08:51:21 +01:00