Commit Graph

8060 Commits

Author SHA1 Message Date
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
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
Gavin King ccf88c925e remove isStrictJPAQLCompliance()
it was uncalled, and anyway incorrect
2022-01-26 08:48:52 +01:00
Steve Ebersole 7b00d3ce78 Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel` 2022-01-25 20:22:29 -06:00
Gavin King f6287cedc2 very minor cleanups to engine package 2022-01-26 01:07:08 +01:00
Gavin King ee1d27719c minor cleanups to Actions 2022-01-26 00:42:08 +01:00
Gavin King 8f8ae50e0b remove deprecated ExtendedBeanManager 2022-01-26 00:16:48 +01:00
Gavin King 5dbf9aedf9 fix for Dialects with null SQLException delegate 2022-01-25 22:48:58 +01:00
Gavin King 6b5c11b1ff clean up some warnings in engine.jdbc package 2022-01-25 22:04:54 +01:00
Gavin King 6b51952137 clean up SQLExceptionConverter and friends removing obsolete stuff 2022-01-25 21:43:43 +01:00
Gavin King e51c210d78 squash lots of warnings in services
change the raw Map representation of config properties to Map<String,Object>
2022-01-25 21:04:50 +01:00
Gavin King ef86097db7 minor improvements to Javadoc of Mutability 2022-01-25 11:25:49 +01:00
Gavin King 03a3f96c62 squash a bunch of warnings 2022-01-25 10:37:14 +01:00
Gavin King c44e0519b9 remove deprecated operations of SessionBuilder
they've been deprecated since 5.2
2022-01-25 10:11:36 +01:00
Gavin King 9c37385cb9 remove deprecated operations from SessionFactoryBuilder 2022-01-25 08:58:55 +01:00
Gavin King f0fa64bda8 make checkstyle shut up 2022-01-25 08:22:22 +01:00
Gavin King 55a556b017 mark impls of EntityTuplizer as @Deprecated 2022-01-25 07:46:48 +01:00
Gavin King 1ebe8523e5 better to throw than always return null
it would be even better, IMO, to simply remove this method
2022-01-25 07:46:04 +01:00
Steve Ebersole 3f879dc3db User Guide - collection mapping docs 2022-01-24 19:52:41 -06:00
Gavin King 6590727698 add a couple of missing @SuppressWarnings in Query hierarchy 2022-01-24 23:46:25 +01:00
Gavin King 599ffec8fc take out even more @deprecated trash 2022-01-24 23:46:25 +01:00
Gavin King fad946838a cleanup CallbackRegistry 2022-01-24 23:46:25 +01:00
Gavin King 73f4960e3d take out some @Deprecated trash 2022-01-24 23:46:25 +01:00
Steve Ebersole bfde4461b3 Change `@ParamDef#type` associated with a `@FilterDef` from `String` to `Class` in keeping with the general move away from String-based type usage in annotations 2022-01-24 16:44:22 -06:00
Steve Ebersole 521209815f api, spi, internal, deprecation, javadoc 2022-01-24 16:04:08 -06:00
Steve Ebersole 510ce500f6 Change `@ParamDef#type` associated with a `@FilterDef` from `String` to `Class` in keeping with the general move away from String-based type usage in annotations 2022-01-24 15:07:03 -06:00
Steve Ebersole 7f2194e068 api, spi, internal, deprecation, java 2022-01-24 14:58:45 -06:00
Steve Ebersole 4c0824d74d Change `@ParamDef#type` associated with a `@FilterDef` from `String` to `Class` in keeping with the general move away from String-based type usage in annotations 2022-01-24 14:58:45 -06:00
Gavin King 973c052c8c move since from @deprecated to @Deprecated 2022-01-24 21:55:31 +01:00
Gavin King 451603e2f2 let's not forget @Nationalized 2022-01-24 16:01:13 +01:00
Jan Schatteman dc2e86d5c1 Remove several deprecations in org.hibernate.boot
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-24 08:42:33 -06:00
Steve Ebersole d6c4f90f4c Change `@ParamDef#type` associated with a `@FilterDef` from `String` to `Class` in keeping with the general move away from String-based type usage in annotations 2022-01-24 08:27:11 -06:00
Gavin King 596317da0b javadoc around nationalized character support 2022-01-24 14:57:37 +01:00
Atgoogat 9ad64e5001 HHH-15046: moved overlapping db2_luw version to constant 2022-01-24 14:49:55 +01:00
Atgoogat 77ea0c7c1f HHH-15046: db2 version override for SQLAstTranslator 2022-01-24 14:49:55 +01:00
Atgoogat 706bd15222 HHH-15046: revert import order update 2022-01-24 14:49:55 +01:00
Atgoogat 5ffeb55251 HHH-15046: revert import order update 2022-01-24 14:49:55 +01:00
Atgoogat ff09336594 HHH-15046: handle db2 luw and db2z/i version differently 2022-01-24 14:49:55 +01:00
Atgoogat d9bae6f31e HHH-15046: fix nullptr problem with db2z/i dialect intialization 2022-01-24 14:49:55 +01:00
Atgoogat b2c29f9ba1 HHH-15046: test for db2z & db2i initalization error
both errors ocure because private property "version" is used
through the super-constructor before being intialized.
2022-01-24 14:49:55 +01:00
Gavin King 5c4ab4eaf6 javadoc improvements to Sessionfactory, Filter, FilterDefinition 2022-01-24 11:20:12 +01:00
Gavin King c6eb826bd6 remove deprecated/unimplemented methods of Metamodel 2022-01-23 19:51:23 +01:00
Steve Ebersole 0426c152d0 General clean-up of Javadoc for `o.h.annotations` package 2022-01-23 12:43:51 -06:00
Steve Ebersole 8168b932be native-query callable 2022-01-23 12:43:51 -06:00
Gavin King dcfb6cdb19 remove deprecated members of FetchMode 2022-01-23 19:36:43 +01:00
Gavin King 05349f6a9b for how many decades has this code fragment been rejected by the Java compiler? 2022-01-23 19:29:27 +01:00
Gavin King bbec4bcd39 improve javadoc of Session and SessionFactory 2022-01-23 19:25:45 +01:00
Gavin King 5158312570 improve some more javadoc 2022-01-23 19:04:47 +01:00
Gavin King 44799b5a9c improve javadoc for @DialectOverride 2022-01-23 18:24:55 +01:00
Gavin King 3c77ab5f69 expressable -> expressible everywhere 2022-01-23 16:41:18 +01:00
Gavin King 23324318fd remove deprecated operations of MetamodelImplementor 2022-01-23 15:55:15 +01:00
Steve Ebersole fa9ab7bdae clean up remaining test suite failures
- stored procedure parameters - oracle
2022-01-23 07:10:29 -06:00
Steve Ebersole 45d5dc8e74 clean up remaining test suite failures
- stored procedure parameters
2022-01-23 07:10:28 -06:00
Steve Ebersole bfe2e84ee2 clean up remaining test suite failures
- stored procedure parameters
2022-01-23 07:10:28 -06:00
Steve Ebersole e2db993578 clean up remaining test suite failures
- stored procedure parameters
2022-01-23 07:10:28 -06:00
Steve Ebersole 2d72015156 Build task - collect @Incubating + logging refs 2022-01-23 07:06:21 -06:00
Steve Ebersole 692fa24b34 Build task - collect @Incubating + logging refs 2022-01-23 07:06:21 -06:00
Gavin King d4979ac547 clean up some warnings in persisters and improve javadoc 2022-01-23 12:52:18 +01:00
Gavin King 9724fb0d9b actually remove deprecated operations of SessionFactoryImplementor and SessionImplementor 2022-01-23 12:52:18 +01:00
Gavin King 4b26cb5876 remove use of deprecated accessors of SessionFactoryImplementor 2022-01-23 12:52:18 +01:00
Gavin King be831f9690 some code simplifications to collection types
and many more warning cleanups
2022-01-23 12:52:18 +01:00
Gavin King b7802f5eb6 clean up yet more warnings, and remove some obsolete code 2022-01-23 03:15:32 +01:00
Gavin King 24627b214f get IntelliJ to fix a bunch of warnings for itself 2022-01-23 02:06:47 +01:00
Gavin King 121fd2d879 squash warnings in the root package 2022-01-23 01:03:06 +01:00
Gavin King e3a59f883a get rid of billions of obsolete WeakerAccess suppressions 2022-01-23 00:53:38 +01:00
Gavin King a4cb390552 squash some warnings
mainly by just adding wildcards
2022-01-23 00:29:42 +01:00
Gavin King 3f073ae551 get rid of a class that was "being phased out"
and use some more correct generic types
2022-01-22 23:52:25 +01:00
Steve Ebersole 6f2273d749 HHH-15030 - SelectQuery, MutationQuery, etc
SelectQuery as typed
2022-01-22 15:35:31 -06:00
Steve Ebersole dccb1580fe native query function-call checking 2022-01-22 15:35:18 -06:00
Gavin King 74c09c0af4 remove incorrect javadoc 2022-01-22 21:22:52 +01:00
Gavin King b189d4e9c4 Javadoc for various annotations 2022-01-22 21:19:50 +01:00
Gavin King 766483e46d remove hibernate.query.omit_join_of_superclass_tables 2022-01-22 20:01:17 +01:00
Gavin King 6ddb12412c more work on javadoc of settings 2022-01-22 20:01:17 +01:00
Gavin King b3b8ef6073 move DEFAULT_QUERY_PLAN_MAX_COUNT to QueryEngine
which helps clean up the Javadoc for AvailableSettings
2022-01-22 12:45:35 +01:00
Gavin King 1ce86ee7e7 deprecate a setting that is currently unused 2022-01-22 12:38:40 +01:00