Commit Graph

1048 Commits

Author SHA1 Message Date
Gavin King 0dd2defc89 @SuppressWarnings({"UnusedDeclaration"}) -> @SuppressWarnings("unused")
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-05 10:46:52 +02:00
Gavin King 1d12dc0499 HHH-18547, HHH-17114 add default implementations to UserType
and deprecate the wrong-signature nullSafeGet() method

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-31 10:45:48 +02:00
Marco Belladelli 00680b37fd HHH-18541 Migrate hibernate-envers from hcann to hibernate-models 2024-08-29 13:40:54 -05:00
Gavin King d38971f75b HHH-18539 update tests after removal of load()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-29 15:30:39 +02:00
marko-bekhta 28988a9a5c HHH-18488 Bump the jboss logging dependency 2024-08-28 10:36:21 -05:00
Gavin King 5dcbdf64f1
code cleanups to SequenceStyleGenerator and TableGenerator (#8816)
* code cleanups to SequenceStyleGenerator and TableGenerator

Signed-off-by: Gavin King <gavin@hibernate.org>

* code cleanups to TableStructure and SequenceStructure

Signed-off-by: Gavin King <gavin@hibernate.org>

* more very minor cleanups around enhanced generators

Signed-off-by: Gavin King <gavin@hibernate.org>

* more very minor cleanups around enhanced generators

Signed-off-by: Gavin King <gavin@hibernate.org>

* more very minor cleanups around enhanced generators

Signed-off-by: Gavin King <gavin@hibernate.org>

---------

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-22 19:22:59 +02:00
Christian Beikov 94b444b4d8 HHH-18506 Improve flush performance by reducing itable stubs 2024-08-21 18:54:28 +02:00
Andrea Boriero 37644a42a8 HHH-18452 Remove deprecated org.hibernate.Interceptor methods 2024-08-15 13:52:32 -05:00
Jan Schatteman 5dd0aa1e1a HHH-18037 - Move DerbyDialect to hibernate-community-dialects
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Steve Ebersole 4309cffb4d HHH-18194 - Remove @Proxy 2024-08-15 13:52:32 -05:00
Andrea Boriero f12bb8aa12 HHH-18428 Remove Session#delete 2024-08-15 13:52:32 -05:00
Andrea Boriero e3344e0068 Remove us of @SelectBeforeUpdate from tests 2024-08-15 13:52:31 -05:00
Andrea Boriero 83a226c503 HHH-18196 Remove Session#save / Session#update / Session#saveOrUpdate 2024-08-15 13:52:31 -05:00
Andrea Boriero 5699ed9b40 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Andrea Boriero 34d6715815 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Andrea Boriero dcdcd257c3 Remove use of session#save, session#saveOrUpdate , session#update and session#remove from tests 2024-08-15 13:52:31 -05:00
Steve Ebersole 163d48d81c HHH-18199 - Remove @Where and @WhereJoinTable 2024-08-15 13:52:31 -05:00
Steve Ebersole 9e6d2e006d HHH-18189 - Remove @IndexColumn 2024-08-15 13:52:31 -05:00
Steve Ebersole 2b6f4b5ff9 HHH-18186 - Remove @GeneratorType
HHH-18188 - Remove GenerationTime and its uses
2024-08-15 13:52:31 -05:00
Gavin King cc4656d8f1 HHH-18185 finally remove @ForeignKey (yay!)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King ebc253a6f9 more simplifications to persister hierarchy (#8501)
- remove Lockable interface
- remove Queryable, QueryableCollection, and Loadable
- remove most of PropertyMapping stuff
- remove most of Joinable
2024-08-15 13:52:29 -05:00
Steve Ebersole 8ac9db495a javadoc 2024-08-15 13:52:29 -05:00
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