Commit Graph

1387 Commits

Author SHA1 Message Date
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
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
Gavin King ec0810a646 document auto-enabled filters
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-27 01:29:56 +02:00
Gavin King fd2e1aca81 make the section on @Lob even more explicit
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-25 16:00:36 +02:00
Marco Belladelli 7adab31924 HHH-17818 Add a UG paragraph and examples for `@ConcreteProxy` 2024-04-23 15:37:22 +02:00
Gavin King 967a52fd1d mention where keyset pagination came from
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-22 16:09:22 +02:00
Gavin King 6bf9dbb051 fix a typo
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-21 23:02:18 +02:00
Gavin King 0c97bbdb47 talk about lack of lazy fetching in Jakarta Data
and about SS.fetch()

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-17 13:49:24 +02:00
Gavin King 9ba2803440
documentation for Hibernate Data Repositories (#8178)
documentation for Hibernate Data Repositories

Signed-off-by: Gavin King <gavin@hibernate.org>
2024-04-15 21:22:27 +02:00
Gavin King 3cfec2fd91 HHH-17882 accept a list of warnings to suppress in addSuppressWarningsAnnotation
Signed-off-by: Gavin King <gavin@hibernate.org>
2024-03-29 12:42:02 +01:00
Daninsky 866585d4b6 Fix typo 2024-03-25 18:39:11 +01:00
Gavin King 003c0d0960 mention that tuples can be compared to embeddables in doc 2024-03-22 14:43:10 +01:00
Gavin King 1d9f4fe55f fix a code example I rushed last night 2024-03-21 11:41:38 +01:00
Gregorio Palamà 527beb0bdb HHH-14968 - Support for auto-enabled filters 2024-03-20 16:08:11 -05:00
Gavin King b4974eb00f roughly document key-based pagination 2024-03-20 18:57:04 +01:00
Gavin King bcc3ea60de HHH-17868 introduce @Pattern annotation 2024-03-20 11:29:32 +01:00
Gavin King c60dab34d0 HHH-17859, HHH-17858 document function() and column() functions 2024-03-17 11:14:57 +01:00
Jeff Maxwell d78140d521 HHH-17839 remove reference to org.hibernate.envers.using_modified_flag 2024-03-14 12:17:57 +01:00
Gavin King d7ef693768 document new Expectation approach 2024-03-13 20:49:01 +01:00
Gavin King a1c26f54bf fix syntax error in HQL doc 2024-03-13 19:40:41 +01:00
Gavin King 237e339e2c improvements to HQL functions examples 2024-03-12 17:09:39 +01:00
Gavin King ef16d42c65 allow collation names to be quoted 2024-03-09 20:32:25 +01:00
Gavin King 0d7a7087ff document 'on conflict' in query language guide 2024-03-02 11:36:12 +01:00
Jeff Maxwell 12a93ce328 HHH-17775 Standardize spelling of "round-trip" and "roundtrip" to "round
trip"
2024-02-26 14:07:48 +01:00
Gavin King 1c0121a94d HHH-15519 document bitand(), bitor(), bitxor() 2024-02-20 09:11:44 +01:00
Gavin King 9bb15727e4 HHH-16931 document getResultCount() 2024-02-19 22:56:18 +01:00
Gavin King 45a3ed9565 HHH-17748 update HQL doc 2024-02-18 23:28:56 +01:00
Gavin King e732cddb09 HHH-17746 add typed setProperty() methods to Configuration
and fix handling of DEFAULT_NULL_ORDERING
2024-02-17 12:42:09 +01:00
Gavin King 50bbc803ba HHH-16048 add 'hibernate.query.hql.portable_integer_division'
update doc
2024-02-16 16:23:35 +01:00
Gavin King d61719acd5 minor clarification to docs on SQL array support 2024-02-14 20:35:40 +01:00
Gavin King b4b4112f75 add a TIP about @OneToOne mappings 2024-02-14 12:05:17 +01:00
Yanming Zhou c804ff3ac5 HHH-17719 Supports boolean as return type of mutation query method 2024-02-07 14:10:48 +01:00
Yanming Zhou af599d7d89 Fix typo 2024-02-07 09:48:19 +01:00
Gavin King 3274776acc document Transaction.setTimeout() 2024-02-06 20:39:32 +01:00
Yoann Rodière cd391b7359 HHH-17708 Fix formatting/anchor in documentation of @Struct 2024-02-05 14:53:48 +01:00
Gavin King 1f6564d345 improve preamble of Generator.adoc 2024-02-03 13:57:15 +01:00
Gavin King d96b5dfffc clarify use of Order and Page with @Find
[It's allowed!]
2024-02-02 18:12:27 +01:00
Christian Beikov 7ef13e1f91 HHH-15086 Introduce configurable query cache layout 2024-01-26 11:01:03 +01:00
Gavin King 2f60e08c64 add a NOTE to make something clearer 2024-01-22 18:30:20 +01:00
Jan Schatteman 355f5c8005 HHH-17616 - More work related to moving resources
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2024-01-10 12:12:46 +01:00
Christian Beikov 22e5fe06ae HHH-16138 Add documentation for joins in UPDATE/DELETE 2023-12-21 18:01:30 +01:00
Christian Beikov 81892127b3 HHH-17506 Add documentation for ON CONFLICT clause 2023-12-21 18:01:30 +01:00
Marco Belladelli b44ff032c3 HHH-17528 Throw error for embedded result with collections 2023-12-15 19:46:33 +01:00
Gavin King 5ca64dba8b HHH-17555 don't use getClass() inside entity equals() 2023-12-12 16:40:43 +01:00
Gavin King 17854673e1 add lots more links to the Advanced chapter 2023-12-08 14:58:17 +01:00
Gavin King b9245ae64b add @SoftDelete to Guide 2023-12-08 14:58:17 +01:00
Gavin King c67ea33206
add a comment to example code (#7591) 2023-12-01 18:14:25 +01:00