Commit Graph

11255 Commits

Author SHA1 Message Date
Christian Beikov adcc54febd HHH-14487 Fix usage of wrong Map in PropertyAccessStrategyMapImpl 2022-03-18 16:08:28 +01:00
Christian Beikov e4e35732da HHH-13694 fix numeric overflow exception for large sequence min values 2022-03-18 13:29:28 +01:00
CHAPEL Guillaume 6d21f7eed2 HHH-15118 Fix duplicate ids with PooledOptimizer when sequence value is initialValue 2022-03-18 11:41:21 +01:00
Hibernate-CI 3b9fbdcaab 5.6.8-SNAPSHOT 2022-03-16 17:25:20 +00:00
Hibernate-CI 8c2b9609f1 5.6.7.Final 2022-03-16 17:21:35 +00:00
Sanne Grinovero 8c8a097e12 HHH-15124 Relax usage of DeprecationLogger: avoid some confusing reports 2022-03-16 15:52:48 +00:00
blafond 6a7afe8efc
HHH-15067: Set add() method as public to allow non-nullable associations in hibe…
…rnate-reactive
2022-03-16 13:34:12 +00:00
Krzysztof Debski beae63ae2e remove a deprecation that was probably an accident 2022-03-15 19:00:49 +01:00
Hibernate-CI 7d9fc870fa 5.6.7-SNAPSHOT 2022-03-15 13:53:05 +00:00
Hibernate-CI 64272ba561 5.6.6.Final 2022-03-15 13:49:25 +00:00
Sanne Grinovero 7bb26851ed Disable uploading to Sourceforge 2022-03-15 13:46:20 +00:00
Christian Beikov b54ffe3384 HHH-15051 Add property mapping for target FK attributes for associations with id classes 2022-03-15 11:20:54 +00:00
Sanne Grinovero dba829e88d HHH-15119 Upgrade to ByteBuddy 1.12.8 2022-03-15 11:17:26 +00:00
Sanne Grinovero c030dc4205 HHH-14996 Upgrade to JBoss Logging Processor (and matching Annotations) 2.2.1.Final 2022-03-14 23:39:07 +00:00
Andrea Boriero f78ae8b4c6 HHH-15113 Exception setting ParameterExpressions on Update Queries 2022-03-14 23:25:39 +00:00
Andrea Boriero c3cefd74ca HHH-15115 Deleting an entity with Joined inheritance and default schema set is throwing and error 2022-03-11 11:37:55 +01:00
Christian Beikov 83b6e6e3d5 HHH-15105 Test and fix for NPE when access default query cache region statistics 2022-03-09 12:10:09 +01:00
Steve Ebersole 37ef0627c9 HHH-15106 - fk() HQL function 2022-03-08 18:12:10 -06:00
Christian Beikov 2ced27148e HHH-15097 Add test for boot error when using AttributeConverter for UUID 2022-03-08 22:00:49 +01:00
Christian Beikov 48d3da61e7 HHH-15097 Report VARCHAR as recommended type for UUID to fix issues with AttributeConverters 2022-03-08 22:00:49 +01:00
Christian Beikov c5e95e5a34 HHH-14817 Make sure *-jakarta modules generate source and javadoc jars 2022-03-08 22:00:49 +01:00
Steve Ebersole 9554ab9e41 HHH-15060 - Fix handling of associations with @NotFound
- add new `{fk}` token for HQL (probably should be a new issue)
2022-03-03 05:53:14 -06:00
Yoann Rodière 6ad45e2842 HHH-15090 Allow passing unloaded types and a TypePool to ByteBuddyProxyHelper#buildUnloadedProxy
This is necessary to solve this bug in Quarkus.
2022-03-03 09:39:37 +01:00
Yoann Rodière f0331f32e9 HHH-15090 Test lazy loading with extended bytecode enhancement and inheritance 2022-03-03 09:39:37 +01:00
Yoann Rodière 223856cfd0 HHH-15090 Fix access to public field with extended bytecode enhancement returning null for entity lazy-loaded from polymorphic toOne association 2022-03-03 09:39:37 +01:00
Steve Ebersole 2ea04dc524 HHH-15060 - Fix handling of associations with @NotFound 2022-03-01 14:39:11 -06:00
Andrea Boriero 251884ae88 HHH-15060 Add additional test 2022-03-01 11:26:17 -06:00
Steve Ebersole e46752c05b HHH-15060 - Fix handling of associations with @NotFound 2022-03-01 11:24:29 -06:00
Steve Ebersole 3de2799532 HHH-15060 - Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria
- code clean-up
2022-03-01 11:24:29 -06:00
Yoann Rodière c19a825d93 HHH-15094 Handle http://hibernate.org and https://hibernate.org for DTDs in LocalXmlResourceResolver 2022-03-01 16:24:39 +00:00
Yoann Rodière 24df531d73 HHH-15094 Handle both HTTP and HTTPS versions of DTDs in LocalXmlResourceResolver 2022-03-01 16:24:39 +00:00
Yoann Rodière a3be8c00c5 HHH-15094 Test LocalXmlResourceResolver 2022-03-01 16:24:39 +00:00
Yoann Rodière 99cf560f9f HHH-15094 Remove duplicate DTD descriptor 2022-03-01 16:24:39 +00:00
Brian Stansberry c2bc5991db HHH-15084 Remove use of BeanManager.createInjectionTarget(AnnotatedType) 2022-02-28 12:36:37 +00:00
Steve Ebersole 60283ce9ea HHH-15060 - fix bad test 2022-02-23 16:49:21 -06:00
Steve Ebersole d530de492b HHH-15060 - Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- consider a to-one nullable if either:
    - explicitly marked nullable
    - `@NotFound` is specified, whether IGNORE or EXCEPTION
- force association to EAGER
2022-02-23 13:47:06 -06:00
Andrea Boriero c200eaa2b3 HHH-15060 Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria 2022-02-23 13:47:06 -06:00
Andrea Boriero 1097914917 HHH-15060 Add test for issue 2022-02-23 13:47:06 -06:00
Steve Ebersole b1e590c3bc HHH-15060 - Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- force association to EAGER
2022-02-23 13:47:06 -06:00
Steve Ebersole 6d1a47e598 HHH-15060 - Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- force association to EAGER
2022-02-23 13:47:06 -06:00
Steve Ebersole a297a62432 HHH-15060 - Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
2022-02-23 13:47:06 -06:00
Steve Ebersole 1f84125e44 HHH-15060 - Associations with @NotFound should always be left joined when de-referenced in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
2022-02-23 13:47:06 -06:00
Yoann Rodière 5febc70134 HHH-15082 Correctly propagate the original exception when aborting a JDBC batch fails
Not strictly necessary, but it's related to these changes
and I think it's a good idea.
2022-02-18 20:38:40 +00:00
Yoann Rodière 8f5c0b7610 HHH-15082 Test that batch statements are aborted if a RuntimeException is thrown by Batch#addToBatch
Such an exception can be thrown if an expectation
(org.hibernate.jdbc.Expectation) is not met, for example if an update
statement for a given entity affects 0 rows (e.g. because of a concurrent
update).
2022-02-18 20:38:40 +00:00
Yoann Rodière 582faaa2ac HHH-15082 Abort JDBC batches on runtime exceptions as well as SQLException 2022-02-18 20:38:40 +00:00
Steve Ebersole 82815cc09a back-port JUnit5 based testing support 2022-02-14 08:15:48 -06:00
Steve Ebersole 3c7c6f34ae back-port JUnit5 based testing support 2022-02-10 11:41:20 -06:00
Yoann Rodière 4eb683b357 HHH-15069 Fix backwards-incompatible changes for callers of RelationalModel 2022-02-04 14:00:46 +01:00
Yoann Rodière 36050cb3fd HHH-15069 Fix backwards-incompatible changes for implementors of CompositeNestedGeneratedValueGenerator.GenerationPlan 2022-02-04 14:00:46 +01:00
Yoann Rodière 1afcae2f2a HHH-15069 Fix backwards-incompatible changes for implementors of BulkInsertionCapableIdentifierGenerator 2022-02-04 14:00:46 +01:00