Commit Graph

12383 Commits

Author SHA1 Message Date
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 5d45d19005 HHH-18506 Reduce itable stubs during dirty checking 2024-08-21 18:54:28 +02:00
Christian Beikov 94b444b4d8 HHH-18506 Improve flush performance by reducing itable stubs 2024-08-21 18:54:28 +02:00
Gavin King d4740a9bc8 some very minor cleanups
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-21 13:21:22 +02:00
Gavin King afca93158e minor code cleanups in AbstractEntityPersister
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-16 05:54:17 -06:00
Christian Beikov a956fda688 HHH-17646 Optimize away real table group rendering if possible 2024-08-16 13:35:45 +02:00
Christian Beikov 5fd74adcbf HHH-18493 Resolving already initialized collection elements leads to assertion error 2024-08-16 13:29:59 +02:00
Steve Ebersole 6708cd5cf5 rebase fixups : main -> 7.0 2024-08-15 13:52:33 -05:00
Gavin King 1718e884cc remove unused Logger
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:33 -05:00
Steve Ebersole f2afee75d8 HHH-2003 - Collections which are fetched AND restricted should not be written to second-level cache 2024-08-15 13:52:33 -05:00
Steve Ebersole 5f5551c950 HHH-17448 - Add newly standard column annotation attributes to Hibernate column annotations 2024-08-15 13:52:33 -05:00
Steve Ebersole 13362867dd rebase main -> 7.0 2024-08-15 13:52:32 -05:00
Jan Schatteman cbe89511d2 HHH-17888 - Remove support for MariaDB versions older than 10.5
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Steve Ebersole 2273365e06 HHH-17448 - Add newly standard column annotation attributes to Hibernate column annotations 2024-08-15 13:52:32 -05:00
Steve Ebersole c1124d46aa Revert 01ceadf51c (diff-3aa97a10c4448cdca7e99efdfdfc751068382426129b9cdfc0f6bcb9c3ae2993)
That constructor form is used by Reactive.
2024-08-15 13:52:32 -05:00
Andrea Boriero 0b964a3f19 HHH-17448 Add newly standard column annotation attributes to Hibernate column annotations 2024-08-15 13:52:32 -05:00
Andrea Boriero ec556f0fa5 HHH-18444 Remove deprecate Session#refresh methods 2024-08-15 13:52:32 -05:00
Steve Ebersole c9cc54d156 fix ups 2024-08-15 13:52:32 -05:00
Andrea Boriero 37644a42a8 HHH-18452 Remove deprecated org.hibernate.Interceptor methods 2024-08-15 13:52:32 -05:00
Jan Schatteman e3fd3fad17 HHH-18437 - Remove deprecations from JdbcSessionContext
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Andrea Boriero dfb268ae2a HHH-18448 Add cast and notEqualTo methods to JpaExpression and SqmExpression 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 08f08b8820 HHH-18190 - Remove @LazyCollection 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 53bca2467d HHH-18449 Remove deprecated Integrator#integrate form 2024-08-15 13:52:32 -05:00
Andrea Boriero 856a001170 HHH-18195 migration guide 2024-08-15 13:52:32 -05:00
Steve Ebersole 257adaf633 HHH-18441 - Create extension to PersistenceConfiguration
HHH-18440 - Rewrite the Bootstrapping chapter in the User Guide
2024-08-15 13:52:32 -05:00
Steve Ebersole 7b55b4c18e HHH-18441 - Create extension to PersistenceConfiguration 2024-08-15 13:52:32 -05:00
Andrea Boriero 409640cd01 HHH-18442 Drop DynamicInsert#value and DynamicUpdate#value 2024-08-15 13:52:32 -05:00
Jan Schatteman 8eb7d5457e HHH-18443 - Drop SessionFactoryBuilder#enableJpaListCompliance
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:32 -05:00
Steve Ebersole dcc9f66d78 clean up @deprecation 2024-08-15 13:52:32 -05:00
Andrea Boriero 8ed3913610 Fix checkstyle errors 2024-08-15 13:52:32 -05:00
Steve Ebersole f170d5637f HHH-18196 - Remove Session#save / Session#update / Session#saveOrUpdate
HHH-18428 - Remove Session#delete

Javadoc fix-ups
2024-08-15 13:52:32 -05:00
Steve Ebersole d8c2ca7824 HHH-18009 - Consolidate JdbcObserver and ConnectionObserver into JdbcEventHandler 2024-08-15 13:52:32 -05:00
Andrea Boriero f12bb8aa12 HHH-18428 Remove Session#delete 2024-08-15 13:52:32 -05:00
Yanming Zhou 5c1ece7a84 HHH-18097 Replace `java.io.Closeable` with `java.lang.AutoCloseable` 2024-08-15 13:52:32 -05:00
Andrea Boriero e67967a24e HHH-18195 Remove @SelectBeforeUpdate 2024-08-15 13:52:31 -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 edfd5a66e4 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
Jan Schatteman 02096bd1a5 HHH-17720 - Add common JAXB contracts for named queries
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-08-15 13:52:31 -05:00
Andrea Boriero ff4a3c383f HHH-18224 - db info logging cleanup 2024-08-15 13:52:31 -05:00
Andrea Boriero 5ff2768510 HHH-18127 - Leverage hibernate-models Annotation-as-Class 2024-08-15 13:52:31 -05:00
Steve Ebersole 611844fe79 HHH-18199 - Remove @Where and @WhereJoinTable 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
Gavin King d1a824a701 HHH-18184 rescue @NamedQuery/@NamedNativeQuery.cacheMode
which I had promised to do in a comment

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:31 -05:00
Steve Ebersole 866a505bd0 HHH-18193 - Remove @Polymorphism 2024-08-15 13:52:31 -05:00