Commit Graph

988 Commits

Author SHA1 Message Date
Marco Belladelli e06da88b42 HHH-17612 HHH-18762 Separate envers default revision entity types from mapped-superclasses
Also, ensure they're query-able through Criteria and HQL queries
2024-11-01 11:52:56 -05:00
Marco Belladelli 528129b69a HHH-17612 HHH-18762 Add test for issue 2024-11-01 11:52:56 -05:00
Christian Beikov 6454aaf055 HHH-18496 Add json_exists and support the passing clause 2024-09-18 18:43:07 +02:00
Gavin King f0f96916ad abbreviated source header 2024-09-16 21:26:00 +02:00
Gavin King bbc325c26f spaces to tabs! 2024-09-16 21:26:00 +02:00
Gavin King de921ad473 cleanups by spotless 2024-09-16 21:26:00 +02:00
Jan Schatteman 8da3f3700f HHH-18592 - Remove deprecated @TestForIssue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-09-10 14:09:20 +02:00
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
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 1104b8a9b8 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
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
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