Commit Graph

2108 Commits

Author SHA1 Message Date
Gavin King 79a6af6feb a bit about aggregates
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-23 15:39:31 +02:00
Gavin King 3e0568a50e update chapter on Hibernate Processor for H7
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-23 11:42:03 +02:00
Gavin King 76ad300ddd change title
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-23 10:16:04 +02:00
Gavin King f6463dc390 move ranty discussion to a callout and tone it down
this is no longer as relevant since Jakarta Data came about

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-23 10:16:04 +02:00
Gavin King c39f0bc3b6 first attempt at intro rewrite for 7
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-23 00:31:24 +02:00
Gavin King b7dc7292ca Documentation updates for JPA 3.2
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-23 00:31:24 +02:00
Steve Ebersole dd8e186416 HHH-18644 - New and improved hibernate-maven-plugin 2024-10-22 08:50:09 -05:00
Yentl Projects 82faa0fa74 Update Envers.adoc
Fix "larger then" to "larger than"
2024-10-21 14:48:52 +02:00
Gavin King 1750b2d14b fix a tiny typo
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-21 11:49:43 +02:00
Gavin King 5fca5255ca Update Interacting.adoc for JPA 3.2
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-10-20 23:04:48 +02:00
Christian Beikov 25ddb64a4c HHH-18661 Add unnest() set-returning function and enable XML/JSON based array support on more databases 2024-10-18 10:08:46 +02:00
Yanming Zhou 657e7a278a HHH-15422 Update corresponding documentation 2024-10-17 10:06:30 +02:00
Luca Molteni e48573856e HHH-16861 documentation for HQL `ordinal()` function
Added `ordinal` to QueryLanguage.adoc
Added `ordinal` to Expressions.adoc

Update documentation/src/main/asciidoc/querylanguage/Expressions.adoc

Co-authored-by: Gavin King <gavin@hibernate.org>
2024-10-10 19:09:27 +02:00
nathan.xu 4365ae4929 HHH-18588 revert back one wrong change 2024-10-05 08:40:41 +02:00
nathan.xu 2f59edbffc HHH-18588 improve page computing 2024-10-05 08:40:41 +02:00
nathan.xu 942474f901 HHH-18588 revert back one minor change 2024-10-05 08:40:41 +02:00
Nathan Xu 7932bbaa22 Update documentation/src/main/asciidoc/introduction/Entities.adoc
Co-authored-by: Gavin King <gavin@hibernate.org>
2024-10-05 08:40:41 +02:00
nathan.xu cfae086b1e HHH-18588 fix minor defects in Hibernate Introduction doc 2024-10-05 08:40:41 +02:00
Nathan Xu cef19d79d5
HHH-18605 fix some minor defects in Hibernate Query Language doc (#8941)
* HHH-18605 fix some minor defects in Hibernate Query Language doc

Co-authored-by: nathan.xu <nathan.xu@procor.com>
2024-10-02 18:21:40 +02:00
Jacques-Etienne Beaudet bad79af6bd Documentation fix for Maven BOM import instructions 2024-10-02 17:55:36 +02:00
Steve Ebersole 4f9035e9f8 HHH-18545 - Document "characteristics" of settings 2024-09-30 09:47:30 -05:00
Christian Beikov 3b07ed91c3 HHH-18497 Add xmlagg function 2024-09-23 15:03:22 +02:00
Christian Beikov af09813ced HHH-18497 Add xmlexists function 2024-09-23 15:03:22 +02:00
Christian Beikov 449d002563 HHH-18497 Add xmlquery function 2024-09-23 15:03:22 +02:00
Christian Beikov 574959a591 HHH-18497 Add xmlpi function 2024-09-23 15:03:22 +02:00
Christian Beikov a37ae66a2e HHH-18497 Add xmlconcat function 2024-09-23 15:03:22 +02:00
Christian Beikov 1abfd4eea6 HHH-18497 Add xmlforest function 2024-09-23 15:03:22 +02:00
Christian Beikov f10ec5db1d HHH-18497 Add xmlcomment function 2024-09-23 15:03:22 +02:00
Christian Beikov 4baba673cb HHH-18497 Add xmlelement function 2024-09-23 15:03:22 +02:00
Jan Schatteman 3818b6d99f HHH-17971 - Remove ALLOW_REFRESH_DETACHED_ENTITY
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-09-20 23:59:32 +02:00
Christian Beikov 0e5846b805 HHH-18604 Add json_array_insert 2024-09-18 18:43:07 +02:00
Christian Beikov 8dfc2a5a91 HHH-18604 Add json_array_append function 2024-09-18 18:43:07 +02:00
Christian Beikov ab37d1509b HHH-18604 Add json_mergepatch function 2024-09-18 18:43:07 +02:00
Christian Beikov 051bc78ae6 HHH-18604 Add json_insert and json_replace function 2024-09-18 18:43:07 +02:00
Christian Beikov 36066a03e6 HHH-18604 Add json_remove function and fix some Oracle functions 2024-09-18 18:43:07 +02:00
Christian Beikov 17f328609a HHH-18604 Add json_set function 2024-09-18 18:43:07 +02:00
Christian Beikov f6ac53f83f HHH-18496 Hide JSON functions behind feature flag 2024-09-18 18:43:07 +02:00
Christian Beikov 59ae75bb52 HHH-18496 Add json_objectagg 2024-09-18 18:43:07 +02:00
Christian Beikov c58485c4ef HHH-18496 Add json_arrayagg 2024-09-18 18:43:07 +02:00
Christian Beikov 6b4cc28f0e HHH-18496 Add json_query 2024-09-18 18:43:07 +02:00
Christian Beikov 6454aaf055 HHH-18496 Add json_exists and support the passing clause 2024-09-18 18:43:07 +02:00
Christian Beikov 016b463973 HHH-18496 Add json_object and json_array functions 2024-09-18 18:43:07 +02:00
Christian Beikov d5a3f041b3 HHH-18496 Add json_value function 2024-09-18 18:43:07 +02:00
Jan Schatteman 30f2a2045d HHH-18458 - Remove deprecated org.hibernate.EmptyInterceptor
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-09-10 21:41:50 +02:00
Gavin King a7c3e9a4e9 document explicitly that filter restrictions are written in SQL
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-09-06 20:26:05 +02:00
Gavin King 7422c18a94 HHH-18169 disallow refresh/lock for detached instance
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-31 17:46:11 +02:00
Steve Ebersole 08f08b8820 HHH-18190 - Remove @LazyCollection 2024-08-15 13:52:32 -05:00
Steve Ebersole 4309cffb4d HHH-18194 - Remove @Proxy 2024-08-15 13:52:32 -05:00
Steve Ebersole fea3b2f061 HHH-18453 - Fix Java code block highlighting in User Guide 2024-08-15 13:52:32 -05:00
Steve Ebersole 903f577129 HHH-18453 - Fix Java code block highlighting in User Guide 2024-08-15 13:52:32 -05:00
Steve Ebersole 257adaf633 HHH-18441 - Create extension to PersistenceConfiguration
HHH-18440 - Rewrite the Bootstrapping chapter in the User Guide
2024-08-15 13:52:32 -05:00
Steve Ebersole 163d48d81c HHH-18199 - Remove @Where and @WhereJoinTable 2024-08-15 13:52:31 -05:00
Steve Ebersole 44e802ebac HHH-18193 - Remove @Polymorphism 2024-08-15 13:52:31 -05:00
Steve Ebersole 2b6f4b5ff9 HHH-18186 - Remove @GeneratorType
HHH-18188 - Remove GenerationTime and its uses
2024-08-15 13:52:31 -05:00
Gavin King cc4656d8f1 HHH-18185 finally remove @ForeignKey (yay!)
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:30 -05:00
Gavin King c4868bbdaf removal of deprecated unused code for H7 (#8485)
* remove unused stuff already marked forRemoval
* remove old NamingStrategy stuff which does not actually work anymore
* some cleanups to the mapping package
  - make a couple of deprecated methods private
  - delete some unnecessary code
  - remove all obsolete "iterator" methods
2024-08-15 13:52:28 -05:00
Gavin King 58f555ab39 HHH-18139 clean up one more bifurcation in the Generator framework
removes CustomIdGeneratorCreationContext and IdentifierGeneratorCreator
(which were @Incubating and @Internal, respectively)

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:28 -05:00
Gavin King 15796fd751 update docs to refer to hibernate-processor module
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-08-15 13:52:27 -05:00
Sanne Grinovero 1f5d2fb417 HHH-17970 Remove support for running under a SecurityManager 2024-08-15 13:52:25 -05:00
Steve Ebersole 3334534216 HHH-17460 - Ongoing JPA 32 work
HHH-17892 - Remove @Persister
HHH-17893 - Remove MetadataContributor
HHH-17894 - Remove AdditionalJaxbMappingProducer
2024-08-15 13:52:25 -05:00
Gavin King e086674878 rename hibernate-jpamodelgen to hibernate-processor 2024-08-15 13:52:24 -05:00
Steve Ebersole 2f3a01fd19 HHH-18411 - Add ability to specify a custom UuidGenerator.ValueGenerator 2024-07-24 16:18:40 -05:00
Christian Beikov e4a0b6988f Switch to a okhttp-digest version that is available on Maven central 2024-07-16 11:07:51 +02:00
Christian Beikov 1da18451ce Update asciidoctor plugins to 4.0.2 2024-07-15 19:27:12 +02:00
Gavin King 8ab4b177be mention @ConcreteProxy and the problem it solves in Introduction doc
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-07-11 13:59:44 +02:00
nathan.xu 714c7f010b HHH-18318 fix user guide bootstrap minor link text issue 2024-07-05 17:46:09 +02:00
Gavin a844019ba0 code examples of flush semantics in doc 2024-07-04 00:53:57 +02:00
Marco Belladelli 40544fad60 HHH-18285 Migration for emb-inheritance and annotated class validation
Also slight improvements to release notes and user guide.
2024-07-03 16:46:50 +02:00
nathan.xu 8878a19161 HHH-18320 fix some synatx errors in Locking user guide chapter 2024-07-01 09:35:08 +01:00
marko-bekhta bf3b7e09e7 Remove `DomesticCat` entity type name as it's not in the docs anymore 2024-06-25 17:44:37 +02:00
Andrea Boriero a567226a72 HHH-17956 Criteria multiselect ignores type of the criteria query and always returns list of Object[] 2024-06-13 11:21:54 +02:00
Christian Beikov e2f7d5d516 HHH-16830 Custom exception handling for applyToLoadByKey associations 2024-06-12 12:19:33 +02:00
Dmitrii Karmanov 4125902eea HHH-16830: change the naming 2024-06-12 12:19:33 +02:00
Dmitrii Karmanov e721a37691 HHH-16830: apply filters to find() method 2024-06-12 12:19:33 +02:00
Leonardo Nogueira Meireles f86bdf08c1 [Fixes] Table 19. Declaring entity associations - Documentation
URL: https://docs.jboss.org/hibernate/orm/6.5/introduction/html_single/Hibernate_Introduction.html#entities

@ManyToMany
Declare either side of a one-to-one association?

@ManyToMany
Declare either side of a --> [many-to-many] association?
2024-06-08 18:59:15 +02:00
LLEFEVRE 0705ffd3b1 HHH-18173 Document Oracle Universal Connection Pool 2024-05-27 14:52:36 +02:00
LLEFEVRE 5cdcb2c582 HHH-18157 Document 23ai new features where necessary 2024-05-23 12:46:32 +02:00
Marco Belladelli 2e9acf1ded HHH-18125 Support for `type()` and `treat()` operators for Embeddables 2024-05-22 15:59:03 +02:00
Gavin King 7a315b0d8d
fix description of type() function (#8401) 2024-05-18 16:18:08 +02:00
Gavin King 327399e801 add some javadoc links from Tuning chapter
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-14 14:32:38 +02:00
Gavin King 43a8851d51 some more documentation about lock modes
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-14 14:19:54 +02:00
Gavin King 8c3b68cd78 document what to do when no JDBC DatabaseMetaData
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-14 11:34:28 +02:00
Marco Belladelli 1c11dea006 HHH-1152 Discriminator based inheritance for embeddable types 2024-05-14 11:13:36 +02:00
Christian Beikov c8aa4f39da HHH-17375 Introduce array_includes() and INCLUDES predicate for checking if array contains all elements of subarray as replacement to array_contains() overload 2024-05-13 22:11:15 +02:00
Christian Beikov dcedc5cf18 HHH-17375 Support array on RHS of in predicate 2024-05-13 22:11:15 +02:00
Christian Beikov 5c6a2f4a7d HHH-17375 Introduce intersects predicate for easy array_intersects, the replacement of array_overlaps 2024-05-13 22:11:15 +02:00
Christian Beikov 6c34a0a4a6 HHH-17375 Introduce contains predicate for easy array containment checking 2024-05-13 22:11:15 +02:00
Christian Beikov 64dd9e657c HHH-17375 Support casting array to string and add optional third argument to array_to_string for null element handling 2024-05-13 22:11:15 +02:00
Christian Beikov 8ec90b8fb1 HHH-17375 Overload position function with array_position semantics on array input 2024-05-13 22:11:15 +02:00
Christian Beikov 35102836c7 HHH-17375 Overload length function with array_length semantics on array input 2024-05-13 22:11:15 +02:00
Christian Beikov b74992198c HHH-17375 Shorthand bracket syntax for array slicing 2024-05-13 22:11:15 +02:00
Christian Beikov 67d04577be HHH-17375 Shorthand bracket syntax for array construction 2024-05-13 22:11:15 +02:00
Dmitry Kryukov 0abc479118 HHH-18105 added missing semicolon in CSS file 2024-05-13 21:09:11 +02:00
Gavin King 3d09ac0fce add 'week' to the list of duration literal units in doc
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-06 14:35:12 +02:00
Gavin King 927b046f13 add a TIP about subqueries in filter conditions
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-03 23:14:58 +02:00
Gavin King 1bcc6295b5 document JPA compatibility of extract() field types
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 22:45:15 +02:00
Gavin King b1c69a24b6 update docs with all field types for HQL extract()
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-05-02 22:45:15 +02:00
Gavin King 07dc9f0a68 document that records can now be used as @IdClasses and @EmbeddableIds
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King f55f1c7a43 document implicit joins in 'delete'/'update' queries
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King 8eebf0bafb document changes to StatelessSession semantics
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00