Commit Graph

18197 Commits

Author SHA1 Message Date
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
Marco Belladelli 7218d9c262 Tag release version before committing development version change 2024-04-18 20:04:54 -05:00
Christian Beikov 52adf4f664 HHH-17174 Fix empty query string 2024-04-18 18:16:30 +02:00
Gavin King aae9b1e55d talk about lock() and refresh() in javadoc preamble for Session
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-18 10:53:58 +02:00
Gavin King 38c56acd0b two minor improvements to javadoc
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-18 10:53:58 +02:00
Gavin King 810e5fc76d make javadoc consistent
yes, these methods actually do still accept detached objects
as of today, but that's already deprecated and we're going to
turn it off in the future

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 19:28:53 +02:00
Yanming Zhou 8fdf86e8a5 HHH-17951 Deprecate unused Size.LobMultiplier 2024-04-17 18:36:04 +02:00
Gavin King eb760db015 HHH-17969 test for issue
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 16:15:28 +02:00
Gavin King 5b28d1562e add an example to jdoc of SS.fetch()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 13:49:24 +02:00
Gavin King 0c97bbdb47 talk about lack of lazy fetching in Jakarta Data
and about SS.fetch()

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 13:49:24 +02:00
marko-bekhta 477be17b8d Update Develocity build scan configuration 2024-04-17 13:04:46 +02:00
Gavin King 23163919f8
fix an NPE that occurred if a QL 'delete' statement had no predicate (#8190)
(bug exposed by Jakarta Data TCK)

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 02:35:27 +02:00
Gavin King 7e108433ea
HHH-17966 EAGER collections in StatelessSession (#8186) 2024-04-16 12:36:29 +02:00
Gavin King 431cf992ec
include the Repositories documentation in the docs build (#8185)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 22:13:16 +02:00
Gavin King 9ba2803440
documentation for Hibernate Data Repositories (#8178)
documentation for Hibernate Data Repositories

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:22:27 +02:00
Gavin King 1c71bb67f1 HHH-17955 rename some Interceptor callback methods
to better reflect their nature, and reduce confusion with
the new callbacks introduced for use with StatelessSession

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:21:26 +02:00
Gavin King 65a8ffdf0e HHH-17955 Javadoc improvements in StatelessSession
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:21:26 +02:00
Gavin King dd77ef651a HHH-17955 add Interceptor callbacks for StatelessSession
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:21:26 +02:00
Gavin King 9a4d21d71d HHH-17955 Bean Validation and @PostXxxx callbacks for StatelessSession
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:21:26 +02:00
Gavin King 59603dffb3 clean up weird code formatting in test
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:21:26 +02:00
Gavin King 7f89c6260e HHH-17954 initial implementation of collection persistence for StatelessSession
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:21:26 +02:00
Gavin King adec141a7f fix error message when repository backed by regular session returns Uni
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-14 23:55:25 +02:00
Gavin King 6695617210 HHH-17953 fix StatelessSession.fetch() for empty collection
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-13 12:43:05 +02:00
Gavin King c0d2075ee6 move broken jdoc back where it belongs
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-13 11:04:47 +02:00
Steve Ebersole 06fd80907c HHH-17559 - Prefer Java Time handling for all temporal values 2024-04-12 13:11:56 -05:00
Steve Ebersole a996b6514e HHH-17559 - Prefer Java Time handling for all temporal values 2024-04-12 13:08:57 -05:00
Andrea Boriero add62a188b Fix SybaseASEDialect column lenght resolution 2024-04-12 19:27:41 +02:00
Andrea Boriero 781b9f4653 HHH-17761 Merging a bytecode enhanced entity with all properties set to null does not apply the update 2024-04-12 11:52:08 -05:00
Andrea Boriero 181d1e1966 HHH-17761 Add test for issue 2024-04-12 11:52:08 -05:00
marko-bekhta 12c01df281 HHH-17761 Add a reproducer 2024-04-12 11:52:08 -05:00
Andrea Boriero 4893b6d3ab Fix LobSchemaUpdateTest failure for sybase and mssql legacy dialects 2024-04-12 11:46:07 -05:00
Andrea Boriero aa5e1184a5 Fix sybase LobSchemaUpdateTest failure 2024-04-12 11:46:07 -05:00
Steve Ebersole f68f6aae50 HHH-17946 - Avoid creating ProxyFactory if possible 2024-04-12 11:22:16 -05:00
Marco Belladelli 44aec90538 HHH-17783 Allow early initialization of entity instance by non-owning initializer 2024-04-12 11:14:46 -05:00
gtoison 710ea629a9 HHH-17918 test reproducing the issue 2024-04-12 11:14:46 -05:00
Marco Belladelli 07692edf9a HHH-17783 Add test for issue 2024-04-12 11:14:46 -05:00
Yanming Zhou 71234d90ae HHH-17912 Disallow multiple valued binding for BasicCollectionType 2024-04-12 11:00:23 -05:00
Christian Beikov b4603e0e40 HHH-17932 Get rid of unnecessary synchronization 2024-04-12 14:01:50 +02:00
Yanming Zhou 95403bc083 Use Integer.MAX_VALUE instead for better readability 2024-04-12 13:42:47 +02:00
Christian Beikov 62a973dce0 HHH-17947 Bidirectional association management shouldn't ignore maintaining inverse lazy objects 2024-04-12 13:28:21 +02:00
Christian Beikov c624048635 HHH-17947 Add additional test for unique key loading 2024-04-12 13:28:21 +02:00
Jan Schatteman 68049bbf74 HHH-17947 - Add test for issue
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-04-12 13:28:21 +02:00
Gavin King dd209f9851 add missing @since annotations
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-12 10:36:20 +02:00
Gavin King 0944b52bc3 add a missing @since annotation
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 23:59:54 +02:00
Gavin King b7af56ac76 allow @Find @Nullable and @Query @Nullable
to return null from a repository method

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 23:59:54 +02:00
Gavin King f6b366fa41 better impl of repository id lookup methods returning Optional
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 22:40:46 +02:00
Andrea Boriero f27dc7d3a8 Fix mssql LobSchemaUpdateTest failure 2024-04-11 22:40:12 +02:00
Gavin King 04d22686bb improve Jakarta Data exception messages
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 19:42:26 +02:00
Gavin King 23dc51d291 fix exceptions thrown from by-id @Find method
previously, for SS it would just return null

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-11 19:42:26 +02:00