filmov
tv
New MutationQuery and SelectionQuery interfaces in Hibernate 6
![preview_player](https://i.ytimg.com/vi/KuAL0uBxtoU/maxresdefault.jpg)
Показать описание
One of the smaller changes in Hibernate 6 that can easily get overlooked and which Steve Ebersole presented in a recent Expert Session in the Persistence Hub, is the introduction of the MutationQuery and SelectionQuery interfaces. It allows the separation between queries that change data and the ones that select it from the database.
Older Hibernate versions and the JPA specification use the Query interface to handle both types of queries. It extends the SelectionQuery and MutationQuery interfaces. And you can, of course, still use that interface with Hibernate 6. But the 2 new interfaces are much cleaner because each only defines the methods you can use with the corresponding type of query. And as I will show you in this video, it also enables a stricter validation of the provided statement.
Like my channel? Subscribe!
Want to connect with me?
Older Hibernate versions and the JPA specification use the Query interface to handle both types of queries. It extends the SelectionQuery and MutationQuery interfaces. And you can, of course, still use that interface with Hibernate 6. But the 2 new interfaces are much cleaner because each only defines the methods you can use with the corresponding type of query. And as I will show you in this video, it also enables a stricter validation of the provided statement.
Like my channel? Subscribe!
Want to connect with me?
New MutationQuery and SelectionQuery interfaces in Hibernate 6
Incubating Features in Hibernate 6
Hibernate 6 - Was ist neu? Lohnt sich das Update? | Thorben Janssen (DE)
ResultTransformer with Hibernate 4 5 & 6
Improved mapping of ZonedDateTime and OffsetDateTime in Hibernate 6
How to use @JavaType and @JavaTypeRegistration annotations form Hibernate 6 | JPA Buddy
CRUD Operations with Hibernate 6
Hibernate 6 EmbeddableInstantiator – Instantiate embeddables your way
Create new Hibernate 6 project with Maven (starter project)
Hibernate 6: Simple Mapping Part-7 | Mapping Using XML and Annotation step by step
Hibernate - 06 - Using Select Query
Spring Data JPA - Publishing Domain Events When Changing an Entity
Java :How do you do a limit query in JPQL or HQL?(5solution)
Spring Data JPA - How to Use Dynamic Inserts and Updates
Hibernate 6: Introduction From Scratch step by step part-1 | By Pawan Soft
How to call native SQL queries with JPA and Hibernate
Full Stack Java Developer | Session - 40 | Hibernate 6 CRUD Operations | rajonlinetrainings
How to use @JdbcTypeCode annotation from Hibernate 6 | JPA Buddy
PentaBAR Webinar // Spring and Hibernate 6 Migration
Meetup ElasticFR #70 : REX Elasticsearch x Hibernate Search 6
PentaBAR Webinar // High-Performance Java Persistence
Designing An Automated Ecommerce Inventory System -1/4
Day 40 | Java Full Stack Online Training Course Live | 13th June 2024
CRUD Operations using Hibernate | Java Full Stack Developer Course | Session - 39
Комментарии