Commit Graph

1524 Commits

Author SHA1 Message Date
Jan Schatteman d6f9b0b683 HHH-15401 - Update the topical guide
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-07-18 12:04:45 +01:00
Andrea Boriero e3d524fe5e HHH-15396 Quick Start guide, hibernate-tutorials.zip link is broken 2022-07-13 13:54:28 +02:00
Gavin King 6588d2db46 somewhat improve the documentation of StatelessSession
mention fetch()
2022-07-04 21:05:14 +02:00
Gavin King 7b8bf8b98e minor changes to HQL docs 2022-07-02 20:53:03 +02:00
Gavin King c3e0bc44ba document right/full join syntax 2022-07-02 20:50:13 +02:00
Christian Beikov 9c660f7e0a HHH-15367 Lift embedded/id-class to-one selection limitation for from clause subqueries 2022-07-01 12:05:54 +02:00
Gavin King bb29e3b060 document root joins 2022-06-24 17:14:13 +02:00
Christian Beikov 9cff075a89 HHH-15349 Fix rendering of EntityValuedPathInterpretation when comparing different model parts 2022-06-23 20:20:00 +02:00
Gavin King 1eb75e22ef improve language and formatting in new HQL doc sections 2022-06-18 00:22:17 +02:00
Gavin King 58da5f24f9 "sub query" -> "subquery"
The word "sub" means "submarine", "submissive", or "substitute".
It's never an adjective.
2022-06-18 00:22:17 +02:00
Gavin King c163e1f2ed minor clarifications to HQL chapter 2022-06-17 18:14:30 +02:00
Gavin King c60fbc20ec documentation for hibernate.enable_lazy_load_no_trans 2022-06-10 17:00:29 +02:00
Christian Beikov 341267b133 HHH-3356 Support for normal and lateral subquery in from clause 2022-06-04 19:07:43 +02:00
Steve Ebersole a488e1a269 minor doc fix-up 2022-05-31 06:31:55 -05:00
Christian Beikov 497c09cddb HHH-10999 Remove configuration setting for configuring the JDBC type for arrays 2022-05-30 19:52:39 +02:00
Christian Beikov 45fc49314e HHH-10999 Add support for SQL array types mapped as Java arrays and collections 2022-05-30 19:52:39 +02:00
Nathan Xu 087b9d83ff HHH-15010 - update Java type list for '@CreationTimestamp' and '@UpdateTimestamp' in user guide 2022-05-23 15:37:18 +02:00
Christian Beikov a961ba45ac Add documentation for CompositeUserType 2022-05-05 09:18:19 +02:00
Christian Beikov c18e611ed6 HHH-15200 Add support for the SQLXML type 2022-05-05 09:07:37 +02:00
Nathan Xu 79adc41918 HHH-15224 update the module list in "getting started guide" 2022-05-03 10:20:40 +02:00
Nathan Xu 8af615386f HHH-15154 tweak verbiage in user guide on FetchMode.SUBSELECT 2022-05-03 10:15:06 +02:00
Hirosato Hano ef443b11ad HHH-15238 - Documentation: update JDBC logging configuration for 6.0 2022-05-02 13:10:04 +02:00
Nathan Xu 049a61479b HHH-15239 add 5.6 link in user guide after v6 became the new "current" 2022-05-02 09:13:56 +02:00
Jan Schatteman eab669f04e Some minor corrections to the docs
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-04-27 17:39:52 +02:00
Steve Ebersole 69e57404c6 HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -05:00
Christian Beikov 776bc1d0aa HHH-15174 Move annotation handling code to common method for element collection and basic values 2022-04-07 21:03:20 +02:00
Steve Ebersole 84cf4524ea HHH-15170 - Dedicated chapter for "Build Tool Support"
HHH-15171 - Add discussion of the Ant Plugin
2022-04-05 16:13:03 -05:00
Steve Ebersole 17bb4aa066 HHH-15170 - Dedicated chapter for "Build Tool Support"
HHH-15171 - Add discussion of the Ant Plugin
2022-04-05 15:25:34 -05:00
Steve Ebersole 9d3726e39d HHH-15170 - Dedicated chapter for "Build Tool Support" 2022-04-04 19:15:15 -05:00
Steve Ebersole ad828a0a4a release announcement, doc artifacts 2022-03-31 11:01:06 -05:00
Steve Ebersole 8d20c033b1 Address test failures in Gradle plugin module
- I was not able to figure this out, so simply disabled the TestKit related tests
- unfortunately, this means we have no automated functional testing of the plugin in the build
2022-03-31 07:49:28 -05:00
Steve Ebersole bec32ebbc4 HHH-15133 - Use specified result-type to better infer "shape" of query results with implicit selections 2022-03-30 13:34:18 -05:00
Christian Beikov 4334b46376 Update the bulk section of the batching documentation chapter for the new mutation strategies. Also implement the missing InlineUpdateHandler 2022-03-30 18:21:27 +02:00
Christian Beikov 111fe26ccc Fix some issues in the legacy type resolution documentation and raw types issues for UserType 2022-03-30 18:21:27 +02:00
Christian Beikov 29d457b16a Add documentation for the sql function 2022-03-30 18:21:27 +02:00
Christian Beikov 117e62195a Allow configuring the preferred JDBC type for Instant 2022-03-29 19:31:53 +02:00
Christian Beikov a9d1035806 Do some renaming for consistency and update documentation for new SQL types 2022-03-29 19:31:53 +02:00
Steve Ebersole 814c164c81 HHH-14672 - Allow specifying CHAR-based storage for UUID mappings 2022-03-29 16:53:35 +02:00
Christian Beikov b4a1b149fb Add support for specifying the SqlTypes field name when a type code is expected 2022-03-26 00:02:18 +01:00
Christian Beikov f2aa533dfc Switch back to numeric(21) with nanosecond resolution as fallback for mapping Duration to retain backwards compatibility 2022-03-25 20:20:28 +01:00
Christian Beikov 6801ff0f26 Introduce option to configure how to store java.time.Duration 2022-03-25 20:20:28 +01:00
Christian Beikov ce298a1566 Make use of type variable for a few CompositeUserType methods 2022-03-24 09:29:45 +01:00
Christian Beikov 4b48dd31f6 Get rid of MVCC JDBC connection parameter 2022-03-24 09:15:11 +01:00
CHAPEL Guillaume c57d394445 HHH-15118 Fix duplicate ids with PooledOptimizer when sequence value is initialValue 2022-03-18 10:27:06 +01:00
Steve Ebersole 6ab1cd3434 fix problem with release.gradle 2022-03-16 11:36:11 -05:00
Steve Ebersole f82d381fe3 Gradle build clean-ups
- re-organize release task definitions to avoid use of subproject iteration
2022-03-15 12:15:56 -05:00
Steve Ebersole 741b6b71f1 logging report 2022-03-11 14:45:43 -06:00
Steve Ebersole 7a1d6f13dd doc fix-ups 2022-03-09 13:45:11 -06:00
Steve Ebersole e16fbb6c31 report-tasks 2022-03-09 12:28:13 -06:00
Steve Ebersole 415b28f116 HHH-15114 - Clean up deprecations 2022-03-08 20:24:14 -06:00
Steve Ebersole b8c416744d not-found and fk() docs 2022-03-08 18:11:07 -06:00
Christian Beikov af9edd50d6 Add SqlTypes.TIMESTAMP_UTC to as jdbc type for java.time.Instant 2022-03-08 23:05:09 +01:00
Christian Beikov 964e72f536 Implement support for TimeZoneStorageType.COLUMN 2022-03-08 23:05:09 +01:00
Christian Beikov 2c80250b0e Replace typeNames in Dialect with SqlType and SqlTypeRegistry that dialects contribute into 2022-03-08 21:59:49 +01:00
Steve Ebersole ac4a792f84 render migration guide using asciidoctor and publish with docs 2022-03-08 11:26:55 -06:00
Steve Ebersole d52ebfb41d HHH-15099 - Improve handling of associations marked with @NotFound
- Keep track of NotFoundAction into mapping model
- Fix tests with erroneous assertions about `@NotFound` associations allowed to be lazy
2022-03-05 08:59:31 -06:00
Christian Beikov bdf8b2fc2e Fully generify and simplify UserType contract 2022-03-04 11:14:17 +01:00
Christian Beikov 8183901cfe Add documentation notes about LIST semantics for mappedBy mappings 2022-03-02 17:02:53 +01:00
Christian Beikov 7aaeebe3af Switch back to bag by default for list semantics 2022-03-02 17:02:53 +01:00
Christian Beikov 8e6fb5636b Adapt EmbeddableInstantiator and CompositeUserType to accept a ValueAccess instead of a Supplier 2022-02-25 19:15:38 +01:00
Christian Beikov c520b48487 Implement support for CompositeUserType and re-enable tests that make use of it 2022-02-25 15:36:16 +01:00
Andrea Boriero dc3b3db512 Re-enable additional tests 2022-02-15 17:45:39 +01:00
Christian Beikov 5bfbc466eb Rename JPA copy compliance setting to `hibernate.criteria.copy_tree` 2022-02-10 18:24:23 +01:00
Gavin King 4d024fde8b update documentation to explain implicit collection joins 2022-02-09 22:05:21 +01:00
Gavin King 9ebac67737 change the new syntax for HQL collection-aggregates
this feels more consistent to me, and avoids introducing "new" syntax
2022-02-09 22:05:21 +01:00
Gavin King 65e282766c test showing 'join treat' broken for @OneToMany 2022-02-08 12:23:43 +01:00
Gavin King a25758f519 don't write @SuppressWarnings({ "unchecked" }) 2022-02-05 20:03:50 +01:00
Steve Ebersole 86cdf67016 HHH-15055 - Document SelectionQuery and MutationQuery 2022-02-05 10:50:13 -06:00
Gavin King 798f9b0518 disable test on Sybase
oops, I missed that this failed in CI!
2022-02-02 20:41:52 +01:00
Gavin King f9392406b7 mention ordered set functions in documentation 2022-02-02 20:00:58 +01:00
Jan Schatteman d2b740ce5b
Jrenaat 6.0 deprecation removals (#4718)
* Removed deprecated org.hibernate.boot.jaxb.internal.stax.LocalSchema

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

* Remove some deprecations from org.hibernate.engine.jdbc

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

* Remove deprecated misspelled method in PostActionEventListener

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

* Remove deprecated getSource() from AbstractPreDatabaseOperationEvent

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

* Privatize deprecated buildOptimizer method in OptimizerFactory

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

* Remove deprecated ServiceContributingIntegrator

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

* Remove some more deprecated features

Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-31 19:14:48 +01:00
Christian Beikov 0ad5796ffd Implement SQM copying for JPA Criteria API uses 2022-01-31 19:04:37 +01:00
Gavin King ef391bf644 get rid of warnings about use of deprecated PersisterCreationContext 2022-01-31 14:10:04 +01:00
Gavin King 6f3592ac25 Streams are no longer closed by terminal operations
This is no longer true, according to H6 migration guide, so undocument it
2022-01-30 18:35:08 +01:00
Gavin King 99e43537c1 fix a couple of minor errors in doc 2022-01-30 06:21:53 +01:00
Gavin King 1188c6e628 Use a table instead of a list 2022-01-29 20:01:20 +01:00
Gavin King b2a929a46e fix quoting 2022-01-29 19:42:59 +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 e80892b77f fix typo 2022-01-27 20:31:05 +01:00
Steve Ebersole 5436f441ae move remaining tests from o.h.test to o.h.orm.test 2022-01-26 17:06:53 -06:00
Steve Ebersole 7b00d3ce78 Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel` 2022-01-25 20:22:29 -06: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
Steve Ebersole 3f879dc3db User Guide - collection mapping docs 2022-01-24 19:52:41 -06:00
Steve Ebersole a332d9191e Work on the User Guide section on @NotFound 2022-01-24 13:28:07 -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 766483e46d remove hibernate.query.omit_join_of_superclass_tables 2022-01-22 20:01:17 +01:00
Steve Ebersole 8cda382ef9 api, spi, internal, deprecation
org.hibernate.query package
2022-01-21 13:34:06 -06: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
Steve Ebersole 5761e7801b api, spi, internal, deprecation
org.hibernate.jpa
2022-01-20 22:19:13 -06: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 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
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 fb749b6b32 Adapt tests and skips for H2 2.0.202+ 2022-01-18 15:18:01 +01:00
Steve Ebersole 7de0e79cad Clean up usages of ``@NotImplementedYet` 2022-01-14 15:56:59 -06:00
Steve Ebersole 9fe3c861ca HHH-15023 - Move Query and NativeQuery back to org.hibernate.query 2022-01-14 14:49:17 -06:00
Steve Ebersole fda6e96c5e HHH-15023 - Move Query and NativeQuery back to org.hibernate 2022-01-11 21:01:56 -06:00
Steve Ebersole d2584730f3 Document @IdGeneratorType;
Some work to clean up User Guide sections on id-generators
2022-01-10 09:54:06 -06:00