Commit Graph

13417 Commits

Author SHA1 Message Date
Gavin King 2f72d76266 add some @Deprecated annotations on the methods that return raw types 2022-01-22 09:48:11 +01:00
Steve Ebersole bab5b2bf99 minor fixes for function call tests 2022-01-21 23:50:21 -06:00
Steve Ebersole dd41ebc3cf HHH-15030 - SelectQuery, MutationQuery, etc 2022-01-21 22:22:14 -06:00
Steve Ebersole 3365a4fe54 HHH-15030 - SelectQuery, MutationQuery, etc 2022-01-21 22:05:41 -06:00
Gavin King 159792209a more Javadoc refresh 2022-01-22 02:19:24 +01:00
Gavin King fd75e3e75d remove some obsolete config properties 2022-01-22 02:19:24 +01:00
Gavin King 0b01d406c3 second phase of Javadoc refresh for settings 2022-01-22 02:19:24 +01:00
Karel Maesen 3202a56617 HHH-14807 Fix checkstyle errors 2022-01-21 15:23:14 -06:00
Karel Maesen cbf98a1845 HHH-14807 Upgrade SpatialPredicates for Oracle 2022-01-21 15:23:14 -06:00
Karel Maesen d560d81988 HHH-14807 Refactor function contribution 2022-01-21 15:23:14 -06:00
Karel Maesen 355694342d HHH-14807 Upgrade to H6 2022-01-21 15:23:14 -06:00
Steve Ebersole 9234aff3ec SelectQuery, MutationQuery, etc 2022-01-21 15:13:24 -06:00
Steve Ebersole 233470efdb Add SelectionQuery, MutationQuery 2022-01-21 15:13:23 -06:00
Steve Ebersole 0d709e8213 HHH-15030 - Introduce SelectionQuery, MutationQuery, UntypedNativeQuery, MutationNativeQuery, JpaQuery, etc;
HHH-14855 - Support passing a String representation of EntityGraph we can parse through the graph-language parser

rebasing main
2022-01-21 15:13:21 -06:00
Steve Ebersole a632ebd6b5 HHH-15030 - Introduce SelectionQuery, MutationQuery, UntypedNativeQuery, MutationNativeQuery, JpaQuery, etc;
HHH-14855 - Support passing a String representation of EntityGraph we can parse through the graph-language parser

rebase from main
2022-01-21 13:59:48 -06:00
Steve Ebersole 30e48401e0 api, spi, internal, deprecation
org.hibernate.query package
2022-01-21 13:36:34 -06:00
Steve Ebersole cd9c877e93 api, spi, internal, deprecation
org.hibernate.query package
2022-01-21 13:34:09 -06:00
Steve Ebersole 8cda382ef9 api, spi, internal, deprecation
org.hibernate.query package
2022-01-21 13:34:06 -06:00
Steve Ebersole 2b5a5fc196 api, spi, internal, deprecation
org.hibernate.query package
2022-01-21 13:27:11 -06:00
Gavin King a780d8683c drop hibernate.query.native.ordinal_parameter_base
and deprecate hibernate.cache.keys_factory
2022-01-21 19:38:13 +01:00
Gavin King 466e7e7469 first round of Javadoc update to AvailableSettings 2022-01-21 19:38:13 +01:00
Gavin King 2df71bb7ab remove some more deprecated stuff from Environment
and refresh its Javadoc
2022-01-21 16:52:09 +01:00
Gavin King 329b2fc9c4 remove hibernate.jdbc.use_streams_for_binary config property
this should be handled by the Dialects
2022-01-21 16:52:09 +01:00
Gavin King 8327f8567d more Javadoc for JtaPlatform and friends 2022-01-21 16:17:05 +01:00
Jan Schatteman 27b2271130
Some deprecation removals (#4681)
* Remove deprecations in org.hibernate.action.internal

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove deprecated org.hibernate.lob.ReaderInputStream

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Remove deprecated org.hibernate.tool.schema.extract.spi.SequenceInformation.getIncrementSize()

Signed-off-by: Jan Schatteman <jschatte@redhat.com>

* Update hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaValidator.java

Co-authored-by: Christian Beikov <christian.beikov@gmail.com>

Co-authored-by: Christian Beikov <christian.beikov@gmail.com>
2022-01-21 15:15:41 +01:00
Gavin King a79891a426 the the in Javadoc and comments 2022-01-21 14:27:20 +01:00
Gavin King 7ab5a04d42 improve the SQL formatter
we were rendering a many SQL functions badly
2022-01-21 14:16:07 +01:00
Gavin King 6f3ffe8abc put back in test for HQL casting between double and string 2022-01-21 12:35:35 +01:00
Gavin King 376d0c220f fix checkstyle violations 2022-01-21 10:19:30 +01:00
Steve Ebersole 5ded7b8833 api, spi, internal, deprecation
SynchronizeableQuery
2022-01-20 22:49:20 -06:00
Steve Ebersole 5761e7801b api, spi, internal, deprecation
org.hibernate.jpa
2022-01-20 22:19:13 -06:00
Gavin King e1e16a5041 improve an error message and some javadoc 2022-01-20 23:20:16 +01:00
Gavin King d385cc8825 remove hibernate.query.validate_parameters
in H6 we're going to always validate them
2022-01-20 23:20:16 +01:00
Gavin King a59bf70ccf remove hibernate.query.conventional_java_constants
this was apparently a sorta nasty bandaid to a performance problem in query compilation
and it caused problems for some users, breaking interpretation of enum values
2022-01-20 23:20:16 +01:00
Gavin King a84793bd6d remove hibernate.cache.provider_configuration_file_resource_path
this was unused
2022-01-20 20:24:08 +01:00
Steve Ebersole 6cbfb30ea4 api, spi, internal, deprecation 2022-01-20 11:29:57 -06:00
Gavin King ff79e0f12a use @linkplain instead of @link where there is plain text 2022-01-20 18:21:14 +01:00
Gavin King 846af92b54 remove JACC and JMX stuff from docs
it got left over somehow
2022-01-20 18:03:51 +01:00
Gavin King e7acffef15 remove some legacy config properties
the following are gone:

hibernate.ejb.resource_scanner
hibernate.query.substitutions
hibernate.jdbc.sql_exception_converter
hibernate.native_exception_handling_51_compliance
hibernate.legacy_limit_handler
hibernate.jdbc.wrap_result_sets
2022-01-20 18:03:51 +01:00
Gavin King dded606259 use @value instead of @link for setting names in Javadoc 2022-01-20 17:42:26 +01:00
Gavin King 71f122d2e5 remove check for deprecated setting
I don't think we need to look for org.hibernate.ejb.HibernatePersistence anymore
2022-01-20 16:54:42 +01:00
Christian Beikov 7fa2fd0588 Small documentation and internal updates 2022-01-20 16:02:21 +01:00
Christian Beikov ffd72a7d60 Get rid of Type#dictatedSizes and Type#defaultSizes and move methods from Sized as default methods to UserType 2022-01-20 16:01:02 +01:00
Christian Beikov 5fcacce3b1 Replace some uses of Type#getSqlTypeCodes with BasicType#getJdbcType 2022-01-20 16:01:02 +01:00
Christian Beikov 445cedfec7 Cleanup the naming of JavaDescriptor and JavaTypeDescriptor to align with the new naming JavaType 2022-01-20 16:01:02 +01:00
Christian Beikov 895ac83537 Mark some classes as internal which should go away when transitioning to SqlAst based rendering 2022-01-20 16:01:02 +01:00
Andrea Boriero 4361790205 Fix ArrayIndexOutOfBoundsException for CollectionJoin#on(Predicate ...) 2022-01-20 14:57:15 +01:00
Gavin King e6a9220606 clean up very old Dialect javadoc
and squash a couple of warnings
2022-01-20 14:07:32 +01:00
Gavin King 019f87106a tests for @DialectOverride.Xxxx 2022-01-20 11:33:22 +01:00
Gavin King 8aa0665731 introduce the @DialectOverride annotation
for overriding certain mapping annotations that specify native SQL
2022-01-20 11:33:22 +01:00