Commit Graph

13550 Commits

Author SHA1 Message Date
Gavin King 3f1cc36c2a fix some warnings in QueryResultsCacheImpl 2022-01-29 10:48:23 +01:00
Gavin King d86e9b6ab6 minor stylistic review and generics fixes in event stuff 2022-01-29 10:32:49 +01:00
Gavin King c086fff1f8 fix some warnings in a couple of tests 2022-01-29 09:00:14 +01:00
Gavin King c807aecdb9 add some @FunctionalInterface annotations
and fix a warnings
2022-01-29 08:59:34 +01:00
Gavin King 232ad00f5c add some missing (since="6.0") 2022-01-29 08:57:25 +01:00
Gavin King cd7417e815 remove unwrap() methods that aren't to do with proxying
it's better to do this stuff in a more typesafe way
2022-01-29 02:12:44 +01:00
Gavin King 2e2a544584 correct fix for Interceptor.onSave()
see 9898151dda

This change broke the ability to selectively implement methods of Interceptor,
and also broke backwards compatibility with older implementations of Interceptor.
2022-01-29 02:12:25 +01:00
Gavin King 2090df4a08 fix some raw types in Configuration 2022-01-29 02:12:25 +01:00
Gavin King 9276ce4421 explain how to get things in the javadoc 2022-01-29 00:43:08 +01:00
Gavin King f388b2fb2b Javadoc for SessionFactoryBuilder and lots of crossrefs 2022-01-28 19:46:39 +01:00
Gavin King 77137f7407 remove type parameter from BasicValueBinder
why it ever had one, I can only speculate
2022-01-28 17:25:16 +01:00
Gavin King fb1650f789 refresh Javadoc for Configuration and friends 2022-01-28 17:16:59 +01:00
Andrea Boriero b1a09d5630 Fix Criteria#getResultType() returning Object class instead of null 2022-01-28 16:51:00 +01:00
Gavin King 475d028981 remove @TimeZoneColumn for now because it's unimplemented
and there's no plan to implement it for 6.0

(we can put it back later if someone gets around to implementing it)
2022-01-28 16:01:58 +01:00
Gavin King 5f1358633d remove a deprecation that was probably an accident 2022-01-28 14:05:09 +01:00
Gavin King d4f934881c fix some warnings and other misc cleanups to .cfg package 2022-01-27 22:08:39 +01:00
Gavin King e80892b77f fix typo 2022-01-27 20:31:05 +01:00
Andrea Boriero f9141ecb5a Add additional test 2022-01-27 20:10:24 +01:00
Gavin King 6bfa8d6c27 fix disabling of fk in @ManyToOne associations 2022-01-27 19:44:32 +01:00
Gavin King abe0cc3108 javadoc for @NotFound and NotFoundAction 2022-01-27 19:39:36 +01:00
Gavin King 0a251e9a0e second round of binder cleanup: CollectionBinder, more AnnotationBinder 2022-01-27 18:13:09 +01:00
Gavin King 13b00f8907 massive cleanup of AnnotationBinder 2022-01-27 18:13:09 +01:00
Christian Beikov 9a22e615f5 Do not eagerly create a table group for implicit joins 2022-01-27 18:10:18 +01:00
Hibernate-CI 3df3d37dbd Post-steps for release : `6.0.0.CR1` 2022-01-27 15:22:20 +00:00
Hibernate-CI 6b37a21c28 Pre-steps for release : `6.0.0.CR1` 2022-01-27 15:17:31 +00:00
Steve Ebersole 67fbab36bb list v. bag - javadoc, migration guide 2022-01-27 08:49:58 -06:00
Christian Beikov 32f493e74c Fix remaining tests 2022-01-27 07:25:45 -06:00
Steve Ebersole 31bc14979b move remaining tests from o.h.test to o.h.orm.test 2022-01-26 23:16:16 -06:00
Gavin King d3c38f2a8e javadoc revision to CommonQueryContract
and fix the package info for org.hibernate.persister.walking.spi
2022-01-27 01:05:59 +01:00
Andrea Boriero be49444822 Fix failures with inline value handling mode 2022-01-26 17:49:04 -06:00
Gavin King c8a4546331 add Query.getSingleResultOrNull()
this is quite similar to the existing uniqueResult() method,
but its name is much clearer, and it throws the JPA exception
2022-01-26 17:44:42 -06:00
Steve Ebersole d7e5d55278 move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:07:27 -06:00
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Andrea Boriero 5ae3d1e81e CriteriaQuery#getParameters() should not return parameters internally created because value handling mode is bind 2022-01-26 16:16:53 -06:00
Gavin King 09299e1f41 get rid of the last iterators in the mapping package 2022-01-26 22:53:44 +01:00
Gavin King 12a515a95a get rid of more iterators in the mapping package 2022-01-26 22:53:44 +01:00
Gavin King 54b9677d99 get rid of the iterators in the mapping package
and clean up a lot of warnings
2022-01-26 22:53:44 +01:00
Gavin King 766d519ddd actually remove EntityTuplizer and friends 2022-01-26 22:53:24 +01:00
Gavin King 56973f5da4 remove some operations of SessionFactoryDelegatingImpl 2022-01-26 21:43:57 +01:00
Christian Beikov c06b5c18e3 More test fixes and stored procedure fixes for H2 2022-01-26 21:16:13 +01:00
Andrea Boriero da00adf0da Skip Criteria result type validation when JPA query compliance is enabled 2022-01-26 13:55:19 -06:00
Andrea Boriero cb6be7dc81 Fix Subquery#getCorrelatedJoins throws NPE when FromClause is null 2022-01-26 13:52:42 -06:00
Andrea Boriero b9d4a74693 Fix rendering of negated boolean expression predicate 2022-01-26 13:52:12 -06:00
Christian Beikov 96931d8094 Fix tests and implement handling callable function hint for stored procedures 2022-01-26 13:51:49 -06:00
Steve Ebersole 131b7bb4e0 HHH-15030 - SelectQuery, MutationQuery, etc
SelectQuery based on Criteria
SelectQuery based on named query (HQL only)
MutationQuery based on named query (HQL only)
2022-01-26 13:43:44 -06:00
Craig K 751aa6f50f
Fix race condition that allowed Component.getType() to return null (#4700)
This fix prevents an NPE in org.hibernate.mapping.SimpleValue.isValid() and likely elsewhere
2022-01-26 15:18:01 +01:00
Jan Schatteman cc0b198142 Remove some deprecations in org.hibernate.cfg and
org.hibernate.collection.spi

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-26 14:31:41 +01:00
Gavin King d2643fc2b5 minor javadoc improvements to Mapping 2022-01-26 10:24:41 +01:00
Gavin King e82a5492c3 get rid of some more usages of getMetamodel() 2022-01-26 10:20:20 +01:00
Gavin King a3ef7b906d Also Javadoc for JPA compliance stuff
clarify logic of a method in AbstractEntityPersister
(there was actually a bug here)
2022-01-26 08:53:30 +01:00