Commit Graph

1026 Commits

Author SHA1 Message Date
Gavin King 7e536a269e HHH-18207 remove deprecated Dialect classes (#8487)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Gavin King c4868bbdaf removal of deprecated unused code for H7 (#8485)
* remove unused stuff already marked forRemoval
* remove old NamingStrategy stuff which does not actually work anymore
* some cleanups to the mapping package
  - make a couple of deprecated methods private
  - delete some unnecessary code
  - remove all obsolete "iterator" methods
2024-08-15 13:52:28 -05:00
Gavin King f74ab49f9e HHH-18139 fix broken Envers test
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Steve Ebersole 8636806510 HHH-18127 - Leverage hibernate-models Annotation-as-Class 2024-08-15 13:52:28 -05:00
Gavin King 51acbd04dc simplify ObjectNameNormalizer
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Sanne Grinovero 1f5d2fb417 HHH-17970 Remove support for running under a SecurityManager 2024-08-15 13:52:25 -05:00
Steve Ebersole 36248376af HHH-17460 - Ongoing JPA 32 work 2024-08-15 13:52:25 -05:00
Steve Ebersole 1104b8a9b8 HHH-17460 - Ongoing JPA 32 work 2024-08-15 13:52:25 -05:00
Steve Ebersole 28d348e20b HHH-17460 - Ongoing JPA 32 work 2024-08-15 13:52:25 -05:00
Steve Ebersole 3334534216 HHH-17460 - Ongoing JPA 32 work
HHH-17892 - Remove @Persister
HHH-17893 - Remove MetadataContributor
HHH-17894 - Remove AdditionalJaxbMappingProducer
2024-08-15 13:52:25 -05:00
Steve Ebersole c5f1c80040 HHH-17460 - Ongoing JPA 32 work
- mapping defaults & persistence unit defaults
2024-08-15 13:52:24 -05:00
Gavin King e086674878 rename hibernate-jpamodelgen to hibernate-processor 2024-08-15 13:52:24 -05:00
Steve Ebersole f8865106c1 HHH-17377 - Migrate to JPA 3.2
https://hibernate.atlassian.net/browse/HHH-17377

jpamodelgen
2024-08-15 13:52:22 -05:00
Steve Ebersole e12a17a713 HHH-17377 - Migrate to JPA 3.2
https://hibernate.atlassian.net/browse/HHH-17377

Test compilation success!!  95 test failures next
2024-08-15 13:52:22 -05:00
Marco Belladelli 062afdb6cd HHH-18103 Correct metamodel for embeddables with a mapped superclass 2024-08-12 16:33:14 +02:00
Vladimír Kuruc 2823dbeb76 Fixed Informix physical naming strategy compatibility 2024-07-05 17:04:44 +02:00
Christian Beikov da22678c74 HHH-18154 Implement caching for assemblers and initializers
* Make initializers stateless and have separate data classes stored in the RowProcessingState
* Defer determination whether batching should apply and which lock mode should be used until startLoading
* Inline EntityEntry to EntityHolder to avoid map lookup
2024-06-10 09:48:01 +02:00
Gavin King aa91138b6b HHH-18230 throw when collection contains an unsaved instance
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-06-05 16:08:43 +02:00
marko-bekhta 045053ff8a HHH-17030 Followup: move schema check to launcher listener 2024-05-31 15:22:00 +02:00
Christian Beikov 940c898ecf Various improvements:
* Sprinkle some @Nullable annotations to better understand nullness guarantees
* Fix some potential NPEs
* Improve Oracle array_agg emulation
* Prepare for aggregate component array support
2024-05-03 16:49:39 +02:00
Florian Heck 42eadbc93b HHH-17975 add testcase for retrieving revision by an Instant 2024-04-19 12:34:12 +02:00
Florian Heck e8f743993f HHH-17975: use the same precision (millis) for resolving revision timestamps from Instant as from LocalDateTime 2024-04-19 12:34:12 +02:00
Christian Beikov d423b52be3 HHH-17904 Introduce config property to enable native enum type 2024-03-28 17:02:20 +01:00
Gavin King 53301b530d HHH-17833 change log warnings for invalid mappings to exceptions
finally decided to just put an end to this because it's bad and that's that
2024-03-11 00:13:41 +01:00
Vincent Stradiot 52526cd155 HHH-17442 Add test 2024-02-01 10:11:32 +01:00
Vincent Stradiot a3342ec233 HHH-17442 Use FlushMode.MANUAL for select query in ValidityAuditStrategy 2024-02-01 10:11:32 +01:00
mgarcia.devinuesa b386b25676 HHH-16881 - Fix conditional when CDI extensions are enabled 2023-12-19 19:02:14 +01:00
yjpark 46b064633b HHH-17023 Implements AltibaseDialect 2023-11-14 14:51:35 +01:00
Christian Beikov bfb9fcc0f6 HHH-17355 Unify array_contains and array_contains_all as well as deprecate FunctionRenderingSupport in favor of new FunctionRenderer contract 2023-11-06 18:01:04 +01:00
waahhh 634f21baff HHH-17340 fix typos in javadoc 2023-10-27 22:40:40 +02:00
Jan Schatteman cb6a78dc44 HHH-17301 - Reduce amount of connections
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-10-19 11:27:45 +02:00
Yanming Zhou f309a88552 HHH-16935 Fix inconsistent method name 2023-10-11 18:49:57 +02:00
Chris Cranford b9a88a9670 HHH-17139 Support Instant as revision timestamps 2023-10-11 14:28:23 +02:00
Kai Suchomel f1e2fa17ef HHH-17243 added Testcase for java.time.Duration 2023-09-29 10:34:34 +02:00
Chris Cranford e1f9ccaee9 HHH-17080 Fix LocalDateTime resolved value precision 2023-09-19 10:22:29 +02:00
Gavin King 7074188875 HHH-16592 fix incorrect mapping in envers test 2023-09-11 14:53:56 +02:00
Chris Cranford 586cafa4a1 HHH-17189 Respect Audited annotations in component mapped super types 2023-09-09 17:49:32 -04:00
Christian Beikov dd9a51a53a Implement sane collection of skip/require dialect annotations 2023-09-07 14:43:31 +02:00
Christian Beikov 2176d3aaeb Account for PG < 14 not supporting stored procedure OUT parameters 2023-09-06 20:02:37 +02:00
Christian Beikov d4accd0233 Make use of connection pooling in most tests 2023-09-06 14:57:05 +02:00
Gavin King 70626c1e44 HHH-17158 detect incorrect use of @JoinColumn outside @JoinTable/@CollectionTable 2023-09-04 17:27:19 +02:00
Steve Ebersole d3a1bd70ae HHH-17047 - Follow up tasks for Gradle 8.2 upgrade
- toolchains
- lazy Task creation
- documentation (documentation/ and release/) tasks
2023-08-14 07:57:48 -05:00
Sanne Grinovero aea84e3fdc HHH-17061 Remove deprecated method PersistentClass#getJoinIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero 5754cd608c HHH-17061 Remove PersistentClass#getPropertyIterator 2023-08-10 11:32:04 +02:00
Sanne Grinovero ee85011c5d HHH-17061 Remove PersistentClass#getUnjoinedPropertyIterator() 2023-08-10 11:32:04 +02:00
Sanne Grinovero b602c9bddf HHH-17055 Remove deprecated method Value#getColumnIterator() 2023-08-10 11:32:04 +02:00
Chris Cranford 03d5ce08bc HHH-14176 Use column name 'description' rather than 'desc`.
Using the `desc` keyword creates problems for certain dialects, so changed the
property's name so that there is no keyword conflicts.
2023-07-24 12:11:43 +02:00
Christian Beikov 940259dc4c HHH-14176 Handle embedded composite ids in envers specially to avoid lazy loading 2023-07-24 12:11:43 +02:00
Jan Schatteman f175581180 HHH-14176 Added test case for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-24 12:11:43 +02:00
Sanne Grinovero 042ea16b37 HHH-16963 Avoid H2's capability to register a JVM shutdown hook: causes classloader leaks during tests 2023-07-21 11:43:01 -04:00