Choosing ListSematics in Hibernate 6
6:54
Incubating Features in Hibernate 6
11:27
Mixing inheritance mappings
6:34
2 жыл бұрын
Spring Data JPA - Working with Views
6:35
Panache: Repository Pattern
9:08
2 жыл бұрын
Panache : Active Record Pattern
9:51
Пікірлер
@cvgaviao
@cvgaviao 7 күн бұрын
Hi, what if I must insert data before start the app. for example, using Flyway, how to prevent a Id value collision?
@surbhigangrade9251
@surbhigangrade9251 19 күн бұрын
Very well explanation, could you please provide the link for Guide to JPQL Query?
@srikanthkadiyala5971
@srikanthkadiyala5971 19 күн бұрын
Good Morning, I have a scenario to fetch the data from teradata sql views by using spring-boot-data-jpa with no primary key column in database. 1. When using entity it is expecting primary key but we don't have the PK ID column in database. Existing behaviour of data mapping: They joined multiple views and getting the data and mapping DTO class by using RowMapper with spring-boot < 3.x Expected: After >3.x spring-boot version upgrade data binding is not happening. If you have any idea that would be great helpful to me?? Thanks Note:I have done the all the code change related to JPA but getting the Exception like ID column not found in database because as mentioned don't have Id column in views..
@osmancankaya4371
@osmancankaya4371 21 күн бұрын
Thank you Thorben. 👍
@nitinsoni3358
@nitinsoni3358 22 күн бұрын
Good work, thanks
@user-gk3ep5mq9r
@user-gk3ep5mq9r 23 күн бұрын
Boiler plate on tests
@kthun-v7c
@kthun-v7c Ай бұрын
0:00 Intro 1:42 JPQL Queries 4:18 Sorting 5:52 Paginating Query Results 6:49 SpEL Expressions for Entity Names & Advabced Like Expressions 8:24 Native Queries 9:53 Parameter Handling 12:13 Modifying Queries 13:00 Conclusion 14:25 Thoughts on Java Library
@paulhetherington3854
@paulhetherington3854 Ай бұрын
Hiber -- nazi intelligence; -- i.e. beforehand - double minded -- they called, our iLAN-- Hilo!
@paulhetherington3854
@paulhetherington3854 Ай бұрын
JN SEN -- ARRVN -- Oriental -- for: "Life of - our daughter!" He be, a terrorist then! J-- attched - or attacked - by: "exp of -- the order - of nazi!"
@ModifiedGaddiyan
@ModifiedGaddiyan Ай бұрын
tell me when query gives you list of names then how to get that list?
@davincibaker
@davincibaker Ай бұрын
WHAT ABOUT INSERTS ?
@christianweise8806
@christianweise8806 Ай бұрын
Coole Beispiele. 👍
@fireh3211
@fireh3211 Ай бұрын
How to migrate to previous versions?
@KiffenBeats
@KiffenBeats 2 ай бұрын
This video is a pure gold. Thanks sir
@AnastasiaChoise
@AnastasiaChoise 2 ай бұрын
Thank you sm for help!
@williamjwebb
@williamjwebb 2 ай бұрын
Is there a measurable performance hit for the property-has-changed determination, and, if there is, is that hit offset by less downstream cost (slimmer i/o from the appsrvr to db, and obv. within the db)?
@prateekashtikar8631
@prateekashtikar8631 2 ай бұрын
Could you please share link to your source code?
@sidof8065
@sidof8065 2 ай бұрын
Thanks for the content ! how write jUnit test of class with enum properties. Like public interface HouseRepository extends PagingAndSortingRepository<House,Long> { Page<House> findByHouseTypeContaining(HouseType houseType, Pageable pageable); } @Entity(name = "house") public class House { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "house_sequence") @SequenceGenerator(name = "house_sequence",sequenceName = "house_sequence",allocationSize = 1) private Long id; @Enumerated(STRING) private HouseType houseType;
@ferlezcano
@ferlezcano 2 ай бұрын
Nice to hear from you again, Thorben!
@ThoughtsOnJava
@ThoughtsOnJava Ай бұрын
I'll be back soon with more videos. I promise!
@mobiletraderkpk
@mobiletraderkpk 2 ай бұрын
Thanks for tip.
@gouthamreddy2252
@gouthamreddy2252 2 ай бұрын
You said update method throws an exception but it didnt throw any exception in ur video
@sumitshahu8898
@sumitshahu8898 2 ай бұрын
Any sample code to generate custom sequence, am using <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.2.5</version>
@Joseph-oz7tx
@Joseph-oz7tx 2 ай бұрын
like always very nice video.
@user-vr9gp2qf9l
@user-vr9gp2qf9l 3 ай бұрын
Suppose I have Existing Spring project and all db connections everything has been done there in application.properties , Now I want to use flyway for existing proeject in Production , Do we really need baselining for that also ? if yes then why : if no then how ?
@wilsonmwangi8647
@wilsonmwangi8647 3 ай бұрын
Good content. Please could you React in your next video. Thanks
@Photoshopper2010
@Photoshopper2010 3 ай бұрын
how to implement pagination? I can't find any info
@m.kalatchev
@m.kalatchev 3 ай бұрын
You save me a lot of troubles. Thanks for sharing!
@erikgollot6331
@erikgollot6331 4 ай бұрын
The problem is not huge graph and "complex" joins. You can join many relationships. The real problem is the cartesian product when you join multiple ToMany relationships. In you example, if an author write 10 books and theses books are published, each by 5 publishers, you will have 10×5 rows = 50 in the resultset returned by your DB. If you join 10 ToOne relationships, no problem. So we cannot talk about graphs without talking about cartesian product
@ravpod
@ravpod 4 ай бұрын
There is one problem with this solution. While you are using for loop to remove all books CocurrencyModificationException occures.
@A3A3adamsan
@A3A3adamsan 4 ай бұрын
I don't know if this is OOP's fault, or hibernate's, but this is ridiculous, overcomplicated bull$hit. All we need is getAndIncrement a sequence from the database, and perform an insert in a transaction. How are we supposed to remember this (which solution doesn't work since hibernate 6)?
@julianlagg6559
@julianlagg6559 4 ай бұрын
Does slow-query-logging create noticeable overhead when queries are not slow and nothing gets logged? It seems useful to have it activated in prod, and when a request is slow because of a truly slow query than I don't care much if it gets a tiny additional slowdown from writing a log-message.
@engalibadouin5222
@engalibadouin5222 4 ай бұрын
You Always awesome Thorben
@AMAR1010-fg7cm
@AMAR1010-fg7cm 4 ай бұрын
what if we have multiple Dto classes and need to map query result to objects of dto
@mariaangelicavalderrama8163
@mariaangelicavalderrama8163 4 ай бұрын
Thanks !!
@Lykkos29
@Lykkos29 4 ай бұрын
it's okay to use merge when I want to update child entities?
@ambraambra7709
@ambraambra7709 5 ай бұрын
Unfortunately, this didn't work for me. I have Offer (one-many) Items (many-one) StockInfo (many-one) Product. The last table (Product) doesn't get fetched... Don't know why. I had to use a Query with multiple JOIN FETCH.
@agarkovand
@agarkovand 5 ай бұрын
1:10 why do you call "private Book book" class variable an "Entity attribute"?
@simeonpopov4172
@simeonpopov4172 5 ай бұрын
Great content it was very helpful.
@IIIxwaveIII
@IIIxwaveIII 5 ай бұрын
on the outbox table slide, what is the use of aggrID where is already have an ID as the primary key? also, in the book service slide you show the outbox table without a aggrID field. is this on purpose?
@romakhimani
@romakhimani 6 ай бұрын
This is giving the below error : Recognizing native query as a function call is no longer supported
@Utub-qc2cz
@Utub-qc2cz 6 ай бұрын
Question: Is there anyway to access Join tables using criteria API ?
@ruixue6955
@ruixue6955 6 ай бұрын
3:31 5:52 @Transactional 6:06 propagation enum 6:22 REQUIRED - default 6:54 NOT_SUPPORTED
@theperfectprogrammer
@theperfectprogrammer 7 ай бұрын
the only disappointment I have , is I have just found this channel
@purnimakumari7735
@purnimakumari7735 7 ай бұрын
Please share the source code
@nidhiyadav1570
@nidhiyadav1570 7 ай бұрын
I have 2 entities: Table1 : embeddedId -> number, code Table2: embeddedId -> number, code want to left join table2 on table1 using criteriaquery. I am getting error: cannot join basic attibute, tried alomost everything,
@chessmaster856
@chessmaster856 7 ай бұрын
There is no complex query
@yadigarcaliskan6453
@yadigarcaliskan6453 8 ай бұрын
Why does spring try to overtake the industry? I don’t like
@gustavocarvalho7988
@gustavocarvalho7988 8 ай бұрын
This doesn't work, firstly, callable=true already presents an error