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
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
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
f12bb8aa12
HHH-18428 Remove Session#delete
2024-08-15 13:52:32 -05:00
Andrea Boriero
83a226c503
HHH-18196 Remove Session#save / Session#update / Session#saveOrUpdate
2024-08-15 13:52:31 -05:00
Steve Ebersole
9e6d2e006d
HHH-18189 - Remove @IndexColumn
2024-08-15 13:52:31 -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
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
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
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
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
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
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
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
Chris Cranford
e1f9ccaee9
HHH-17080 Fix LocalDateTime resolved value precision
2023-09-19 10:22:29 +02:00
Chris Cranford
586cafa4a1
HHH-17189 Respect Audited annotations in component mapped super types
2023-09-09 17:49:32 -04: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
Christian Beikov
940259dc4c
HHH-14176 Handle embedded composite ids in envers specially to avoid lazy loading
2023-07-24 12:11:43 +02:00
Steve Ebersole
e2504647d4
HHH-13741 - LOG_SLOW_QUERY parameter doesn't always log SQL
2023-07-19 11:35:52 -05:00
Sanne Grinovero
0fb5895d08
Automated cleanup: suboptimal string handling (thanks IntelliJ)
2023-06-26 14:38:59 +01:00
Gavin King
51460470f4
add AuditReader.find(Class,Object, LocalDateTime) ( #6811 )
...
since java.util.Date is bad
and add some Javadoc to AuditReader
2023-06-16 14:00:09 +02:00
Gavin
bdacc8b05f
make it easier to mock the QueryEngine
2023-06-09 17:24:58 +02:00
Gavin
20b157000c
HHH-16125 final cleanup of legacy enum converters stuff
2023-04-29 15:42:56 +02:00
Gavin
febf39cc55
HHH-16125 complete redesign of how enum mappings work
...
- introduce SqlTypes.ENUM
- no more converters!
- finish of Potgres enum support
- disable BIND for enums in Criteria on PostgreSQL
(PostgreSQL doesn't do the needed type conversion to the enum type)
2023-04-29 15:42:56 +02:00
Christian Beikov
75caf15e6b
HHH-16382 Fix resolving table references especially for self-referential associations
2023-04-24 20:02:44 +02:00
Steve Ebersole
e675962779
HHH-16311 - Migrate away from UserType for enum handling
2023-03-17 13:13:24 -05:00
Steve Ebersole
b276128f56
HHH-16284 - Rename JdbcParameterRender to ParameterMarkerStrategy
2023-03-13 15:35:38 -05:00
Steve Ebersole
99f8b0fd3d
HHH-16260 - JdbcParameterRenderer not called with dynamic filters
...
HHH-16256 - JdbcParameterRenderer to have an impact on write operations
HHH-16273 - Support for Dialect native JdbcParameterRenderer
2023-03-09 19:51:33 -06:00
Sanne Grinovero
cf2e723d6f
HHH-16228 Dialect instance might be wrapped when doing instanceof checks for capabilities
...
To properly support the idea of wrapping the Dialect, we need
to take this into account whenever an `instanceof` is used
to check for Dialect capabilities.
Also some code is casting to the expected Dialect.
2023-02-27 22:53:31 +00:00
Christian Beikov
9ef49c596d
Get rid of most capturing lambdas in write path
2023-02-13 16:57:24 +01:00
Steve Ebersole
375f6b5f14
HHH-16069 - Skip CDI for Hibernate extensions by default
2023-01-26 00:29:24 -06:00