Hi, what if I must insert data before start the app. for example, using Flyway, how to prevent a Id value collision?
@surbhigangrade925119 күн бұрын
Very well explanation, could you please provide the link for Guide to JPQL Query?
@srikanthkadiyala597119 күн бұрын
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..
Hiber -- nazi intelligence; -- i.e. beforehand - double minded -- they called, our iLAN-- Hilo!
@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Ай бұрын
tell me when query gives you list of names then how to get that list?
@davincibakerАй бұрын
WHAT ABOUT INSERTS ?
@christianweise8806Ай бұрын
Coole Beispiele. 👍
@fireh3211Ай бұрын
How to migrate to previous versions?
@KiffenBeats2 ай бұрын
This video is a pure gold. Thanks sir
@AnastasiaChoise2 ай бұрын
Thank you sm for help!
@williamjwebb2 ай бұрын
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)?
@prateekashtikar86312 ай бұрын
Could you please share link to your source code?
@sidof80652 ай бұрын
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;
@ferlezcano2 ай бұрын
Nice to hear from you again, Thorben!
@ThoughtsOnJavaАй бұрын
I'll be back soon with more videos. I promise!
@mobiletraderkpk2 ай бұрын
Thanks for tip.
@gouthamreddy22522 ай бұрын
You said update method throws an exception but it didnt throw any exception in ur video
@sumitshahu88982 ай бұрын
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-oz7tx2 ай бұрын
like always very nice video.
@user-vr9gp2qf9l3 ай бұрын
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 ?
@wilsonmwangi86473 ай бұрын
Good content. Please could you React in your next video. Thanks
@Photoshopper20103 ай бұрын
how to implement pagination? I can't find any info
@m.kalatchev3 ай бұрын
You save me a lot of troubles. Thanks for sharing!
@erikgollot63314 ай бұрын
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
@ravpod4 ай бұрын
There is one problem with this solution. While you are using for loop to remove all books CocurrencyModificationException occures.
@A3A3adamsan4 ай бұрын
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)?
@julianlagg65594 ай бұрын
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.
@engalibadouin52224 ай бұрын
You Always awesome Thorben
@AMAR1010-fg7cm4 ай бұрын
what if we have multiple Dto classes and need to map query result to objects of dto
@mariaangelicavalderrama81634 ай бұрын
Thanks !!
@Lykkos294 ай бұрын
it's okay to use merge when I want to update child entities?
@ambraambra77095 ай бұрын
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.
@agarkovand5 ай бұрын
1:10 why do you call "private Book book" class variable an "Entity attribute"?
@simeonpopov41725 ай бұрын
Great content it was very helpful.
@IIIxwaveIII5 ай бұрын
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?
@romakhimani6 ай бұрын
This is giving the below error : Recognizing native query as a function call is no longer supported
@Utub-qc2cz6 ай бұрын
Question: Is there anyway to access Join tables using criteria API ?
the only disappointment I have , is I have just found this channel
@purnimakumari77357 ай бұрын
Please share the source code
@nidhiyadav15707 ай бұрын
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,
@chessmaster8567 ай бұрын
There is no complex query
@yadigarcaliskan64538 ай бұрын
Why does spring try to overtake the industry? I don’t like
@gustavocarvalho79888 ай бұрын
This doesn't work, firstly, callable=true already presents an error