Commit Graph

13300 Commits

Author SHA1 Message Date
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
Andrea Boriero a9ddebf643 HHH-15044 Revert HHH-14826 fix because the provided test was wrong 2022-01-20 11:25:27 +01:00
Steve Ebersole a05f167db6 minor work on migration-guide.adoc 2022-01-19 15:30:26 -06:00
Andrea Boriero a74d0b72be Fix converter issues 2022-01-19 19:56:04 +01:00
Christian Beikov 36d6760abf Fix missing commit which was causing dangling connection/tx 2022-01-19 17:03:42 +01:00
Christian Beikov 8783781f7c Add another TCK test for BigDecimal handling and fix parameter rendering for some Dbs 2022-01-19 17:03:42 +01:00
Andrea Boriero 1e07c4f85f Fix expression type for arithmetic operations 2022-01-19 17:03:42 +01:00
og151037 4775be3bb8 HHH-15042: add offset-clause usage for DB2zDialect 2022-01-19 15:25:57 +01:00
Yoann Rodière 227930b090 HHH-15022 Test deleting all entities of a given type in a table-per-class hierarchy with a default schema 2022-01-19 14:31:09 +01:00
Sanne Grinovero dd176727b2 HHH-15040 Upgrade to Hibernate Commons Annotations 6.0.0.CR1 2022-01-19 13:28:41 +00:00
Gavin King 6072564b93 improve javadoc for @Formula 2022-01-19 13:46:03 +01:00
Gavin King 101de70289 improve javadoc for @JoinFormula-related stuff 2022-01-19 13:33:25 +01:00
Gavin King 47c695bace remove unused imports 2022-01-19 13:14:55 +01:00
Christian Beikov 659bbc0167 Re-add accidently removed SkipDialects for ManyToOneWithFormulaTest 2022-01-19 12:24:17 +01:00
Steve Ebersole 9e3dc8d3e1 clean up remaining test suite failures 2022-01-18 17:49:55 -06:00
Steve Ebersole ba024c5475 clean up remaining test suite failures 2022-01-18 17:20:32 -06:00
Steve Ebersole 1dcdec9c15 clean up remaining test suite failures 2022-01-18 17:19:25 -06:00
Steve Ebersole 7437a96b12 clean up remaining test suite failures 2022-01-18 17:16:23 -06:00