Комментарии •

  • @laurspilca
    @laurspilca Год назад +9

    Code on GitHub: github.com/lspil/youtubechannel/tree/master/jpa_2023_c1_e1

  • @hrsatsangi
    @hrsatsangi Год назад +31

    Please laur complete this series as soon as possible. We are always eagerly waiting for lectures.
    Love From India 🇮🇳🇮🇳

  • @ahmedelwa2000
    @ahmedelwa2000 Год назад +8

    I am big fan from Egypt, professional SW as well. Your videos and books are intensive and sufficient!
    Greetings from Cairo again.

  • @1711jk
    @1711jk Год назад +6

    I wish I knew you 3 years earlier. It would be a rescue for me and my life could go anorher way...

  • @terencechia9986
    @terencechia9986 4 месяца назад

    These fundamental lessons are exactly what I needed. I've starting software development lately and everything I'm using is highly abstracted, I admit I have no idea how most of my tools work.
    By knowing the fundamentals, I'm confident I can have much greater impact later in my career.

  • @lts8683
    @lts8683 Год назад +6

    I hope also to talk about:
    - the comparison jOOQ and JPA.
    - Database migration using flyway for ex.
    I love your tutorial.

  • @Daniel-Murphy951
    @Daniel-Murphy951 7 месяцев назад

    Hey there Laur. I'm pretty new to all this new java stuff like Spring, JPA, hibernate, etc. I used to work in AI/ML research but now I'm doing this.
    I just wanted to say that I absolutely love your teaching. It has seriously helped me understand all these crazy concepts. Thank you so much!

  • @balazsklezli5702
    @balazsklezli5702 Год назад +3

    Thank you for the never ending great tutorials Laur!

  • @marounsleiman9230
    @marounsleiman9230 Год назад +1

    Thanks a lot Laur. Your lessons are so precious. ❤️

  • @usefulservice
    @usefulservice 10 месяцев назад

    Hey Laur, I've been scouring the internet for resources on JPA/Hibernate, and I must say, your tutorial stands out as one of the most comprehensive ones I've come across. Kudos on creating such a valuable resource!

    • @laurspilca
      @laurspilca 10 месяцев назад

      Glad to hear it helps :)

  • @Andr805
    @Andr805 Год назад +1

    Thank you Laur, you're amazing!

  • @jagdishtawde2077
    @jagdishtawde2077 Год назад

    Thank you so much for creating such wonderful videos! Your content is truly inspiring and has brought me so much joy and knowledge. Keep up the fantastic work, and know that your efforts are deeply appreciated. Looking forward to more amazing videos from you. Thank you again
    🤟

  • @thalathotitharunprabhakar3390
    @thalathotitharunprabhakar3390 Год назад

    Thank you Laur for starting the playlist.

  • @nehurane
    @nehurane Год назад +1

    Good in depth detail explanation.

  • @abhishekomprakash4074
    @abhishekomprakash4074 6 месяцев назад

    Enjoyed learning from your video. thanks💯

  • @enestalha5718
    @enestalha5718 6 месяцев назад

    Thank you so much for the course. You are great, greetings from Turkey!

    • @laurspilca
      @laurspilca 6 месяцев назад

      Btw. I will be at Java Day Istanbul :) Maybe we meet there.

  • @wul_frik
    @wul_frik 6 месяцев назад

    Thanks for this playlist

  • @naeemkhan4534
    @naeemkhan4534 Год назад +2

    Hi Laur, Few Questions?
    1. Are ORM frameworks used in Production Level Application?
    2. If Yes, Can they be used with Large Scale Applications?
    3. If Not, Why Learn them?
    3.1 If Not, What is/are used in actual production Level Application?
    Looking forward to your answer.

    • @laurspilca
      @laurspilca Год назад +1

      Hello. Thanks for your questions. Here're my answers.
      1. Yes, definitely
      2. Yes, of course they are
      In fact, Hibernate and the JPA specification in general is one of the most encountered technologies in production apps in the Java world.

  • @hoki8296
    @hoki8296 Год назад

    Great help... oh... My savior!!

  • @rajan-u6b
    @rajan-u6b Год назад

    great lecture as always sir, learn alot thank you

  • @badscrew4023
    @badscrew4023 10 месяцев назад

    I used to come to București for work in the past, miss the wild night parties and good people there :)

  • @arunkumarka1809
    @arunkumarka1809 Год назад

    It is a great tutorial 👏👏...keep up your work......

  • @aviatorgs8202
    @aviatorgs8202 10 месяцев назад

    I really like your videos and have actually learnt a lot, would be good if you'd do a Spring Data Mongo series

  • @piyushlovanshi8142
    @piyushlovanshi8142 Год назад +1

    Hi Laur, I went through a course(a few years old course) starting that "session is to be used" in place of Entity which you are using, my question is "was there a change recently or can session still be used?".
    Thanks you for the educational videos, greatly appreciated.

    • @laurspilca
      @laurspilca Год назад +1

      Hey. Even when working with plain Hibernate today it's likely you'll prefer using EntityManager rather than Session today. But in the end, behind the scenes this only adapts the Session to the JPA specification.

  • @hossamaddin7980
    @hossamaddin7980 Год назад +1

    awesome 🤩

  • @ikennashonowo9250
    @ikennashonowo9250 Год назад

    Great video. Expecting more.

    • @laurspilca
      @laurspilca Год назад

      More will come, definitely :)

  • @JalilHasanov
    @JalilHasanov Год назад

    YOU ARE AWESOME

  • @YounasPA-d8r
    @YounasPA-d8r 7 месяцев назад

    thanks :)

  • @byronkenoly
    @byronkenoly 9 месяцев назад

    very good tutorial

  • @kalaimaranmadhavan4182
    @kalaimaranmadhavan4182 Год назад +1

    please cover bidirectional, earger and lazy fetch, cache

  • @ezekieleromosei6627
    @ezekieleromosei6627 Год назад

    It's been an honor learning from you☺

  • @marekKulczyk
    @marekKulczyk Год назад

    Great video! Please take into consideration buying pop filter for your mic so the video quality will be even better!

  • @anuj_in_nz
    @anuj_in_nz Год назад +2

    Hello ! Thank you very much for this video, as always you explain things very well. A question if I may: When the persistence.xml file was being used to bootstrap the emf, what datasource was used ? The reason why I ask is because when using the CustomerPersistenceUnitInfo, you explicitly added and configured Hikari datasource which makes me wonder what datasource did the xml file approach used.

    • @laurspilca
      @laurspilca Год назад

      Hey. Good question. In that case you don't have too much flexibility. Depending on the implementation you use and its version it may be different types of data sources configured.

  • @buntyshadangi-ou6vk
    @buntyshadangi-ou6vk 6 месяцев назад

    Thanks Laur for being so nice. Want to know your view on impact of AI on Java development

    • @laurspilca
      @laurspilca 6 месяцев назад

      Well, hard to predict that :)

  • @AliHassan-bz9sk
    @AliHassan-bz9sk Год назад +1

    Thanks! I just have two silly questions.😅
    -> what does the term "persistence" actually means when we talk about JPA because in different context it have different meanings?
    -> Are getters mandatory to be specified by a class annotated with @Entity?

    • @laurspilca
      @laurspilca Год назад +2

      Hi. Thanks for your questions.
      1. In this case, persistence means persistently storing data in such a way in which you can later retrieve it.
      2. While a JPA implementation can inject directly in the fields without needing to call setters and getters it's hard to believe you'll not need to access the data at some point later. So getters are not mandatory, but to get the values outside of the class, you'll most likely need them.

    • @AliHassan-bz9sk
      @AliHassan-bz9sk Год назад +1

      @@laurspilca thanks

  • @loray2944
    @loray2944 9 месяцев назад +1

    Hello, you mentioned you have covered java fundamentals, did you cover by the chance sql, more specifically transactions and acid?

    • @laurspilca
      @laurspilca 9 месяцев назад

      Hello. No, I didn't make any playlist on SQL. I only have Java lessons on this channel :) But maybe it''d be a good idea to add a SQL fundamentals playlist at some point :)

  • @adhiprasetyo4052
    @adhiprasetyo4052 Год назад +1

    I hope you will write book about jpa/hibernate, thank you

  • @balajikalva188
    @balajikalva188 Год назад +2

    Hi Laur,
    I have a doubt on when the context is created here . Is it specific to a transaction or will that be specific to each entity manager? We are getting EntityManager from the factory specifying the database (persistence unit details) , will the context be specific to this entity manager created

    • @laurspilca
      @laurspilca Год назад

      Hi. The entity manager has the context and manages it. An entity manager can execute multiple transactions on a context. At a transaction commit the context is mirrored to the DB. I hope this helps.

  • @sharathvemperala
    @sharathvemperala Год назад +2

    I have gone through all your spring and jpa course. Is there any chance of creating Kafka and RabbitMq using spring play list as not much content is not availble in google which explains the whole concepts.

  • @rydmerlin
    @rydmerlin Год назад +1

    I have a JPA question. Suppose you have an entity with 10 attributes and you want to support aggregations like sum, avg etc on any combination of those 10 attributes. What approach do you take that isn’t too static? Ie. You don’t want to have an explosion of statically defined queries to support this.

    • @laurspilca
      @laurspilca Год назад +1

      Hey. Let's discuss this in future lessons.

  • @naeemkhan4534
    @naeemkhan4534 5 месяцев назад

    Hey Laur, I have some questions about the flow from application to DB.
    We have two dependencies now, Hibernate and Hikari.
    From what I know DataSource manages the connection pool.
    Also Hibernate persists finally to DB.
    Where does Hikari comes then in this flow. Can you please tell how Hikari is used here.
    Hibernate calls Hikari?

  • @vakhtangdonadze9490
    @vakhtangdonadze9490 10 месяцев назад

    @laurspilca First of all I'm really grateful for all your videos, they are truly one of a kind as they feel more like a solid lecture than a rushed tutorial. I really appreciate your in depth and theoretical explanation. My question is a bit off topic, but I'm really in your opinion regarding Maven and Gradle, what is the case for using Maven today when Gradle is also available ?

    • @laurspilca
      @laurspilca 10 месяцев назад

      Hello. Thanks for your question. I don't think Gradle excludes Maven or the other way around. From my experience Maven seems to be the preferred in most situations. But it's only a matter of taste.

  • @a.m.jyotiprakashsahu5754
    @a.m.jyotiprakashsahu5754 Год назад

    sir, please make a video on Spring security 6 with Keycloak using OpenID.

  • @medokarim2511
    @medokarim2511 Год назад +1

    Please try to schedule the live before it's time with one or two days

    • @laurspilca
      @laurspilca Год назад

      Sure. This one was scheduled at least a week in advance :)

  • @MrC0pyP4st3
    @MrC0pyP4st3 Год назад +2

    Hey Laurentiu, big fan! Just wanted to ask a quick question: Is your JPA/Hibernate playlist from 3 years ago still relevant? In which way will the current series differ from the old one?

    • @laurspilca
      @laurspilca Год назад +2

      Hi. The old playlist is still relevant. However it had not been recorded quite well. There are a lot of problems with the sound. That's one of the reason I decided to remake it.

  • @momedalhouma14
    @momedalhouma14 Год назад

    Can you show how spring boot autoconfigure the connection to the database? what you showed here is a manual configuration. it will help us undestrand how spring works in the background.

    • @laurspilca
      @laurspilca Год назад +2

      Yes. But not in this playlist. This playlist is only about JPA and Hibernate. The whole idea (as I mentioned also in the video) is having developers understand properly everything that's behind the scenes when they use Hibernate regardless of the framework they use.

  • @colldc4207
    @colldc4207 5 дней назад

    teacher,like your video
    do you have ppt in this course?
    I love it!
    by the way,do you have Paid cours?

    • @laurspilca
      @laurspilca 4 дня назад

      Nope. Never use PPTs. And no, all I do for people is free, I charge only companies.

    • @colldc4207
      @colldc4207 3 дня назад

      ​@@laurspilca thx teacher
      nice course,hope you could launch premium course that charge (sorry for poor grammer but like your course)

  • @marounsleiman9230
    @marounsleiman9230 Год назад +2

    Hi Laur, I have a question about @Transactional((readOnly = true) and @Transactional. If I call a repository from a service class where the method in service class is annotated with @Transactional(readOnly=true) and the method in repository interface annotated with @Transactional. Will @Transactional in repository class override @Transaction(readOnly=true) in service class? What I think is that the answer is no, since the default propagation is REQUIRED which will take the first place Transactional is set and it will be applied through the chain of calls. Is that correct?

    • @laurspilca
      @laurspilca Год назад +1

      Hi, Yes. I would expect the @Transactional in the repository to override the setup at the service level.

    • @marounsleiman9230
      @marounsleiman9230 Год назад

      @@laurspilca thanks a lot. So propagation is not helping here. The Transactional will always override Transaction(readOnly=true) ?

    • @marounsleiman9230
      @marounsleiman9230 Год назад

      @laurspilca since the propagation has as default required which means that the @transactional you define in the first method should follow to all sub methods. Doesn't this mean that the Transactional defined in sub methods are not considered? Which means that if the Transaction defined in first method is defined as readOnly=true, this will follow to all sub methods? Or is it per design that Transactional will always override Transaction(readOnly=true) ? Thanks for your time

    • @laurspilca
      @laurspilca Год назад +1

      @@marounsleiman9230 To be honest, I'm not 100% sure about the readOnly attribute. This situation is quite strange. I don't see why you'd want to override the readOnly. Normally for other attributes it makes sense and for those I'm pretty sure the following @Transactional overrides the initial. But those are situations you find in real-world. The case of readOnly you mention is quite theoretical. I have to check to see what happens to be sure.

  • @2GGop
    @2GGop 7 месяцев назад

    How come the XML configuration variant doesn't use a connection pool? I thought they were essentially equivalent approaches.

    • @laurspilca
      @laurspilca 7 месяцев назад

      Hello. It does use a connection pool behind the scenes. But I minimized the configuration and this way I left the default implementation.

  • @shramlearn
    @shramlearn 9 месяцев назад

    Laur Spilca the legend

  • @engineermind1651
    @engineermind1651 Месяц назад

    1:01:07

  • @DeepakLalchandaniProfile
    @DeepakLalchandaniProfile Год назад

    Please let me know the date of spring security 2nd edition releasing

    • @laurspilca
      @laurspilca Год назад

      Somewhere in autumn maybe? It's difficult to give a date since it's mainly not me making this possible

  • @LeoVEggers
    @LeoVEggers 9 месяцев назад

    where did that persistence xml text came from??

    • @laurspilca
      @laurspilca 9 месяцев назад +1

      Hello. Thanks for the question. The syntax is described in the JPA specification. That XML in the example I configured it myself.

    • @LeoVEggers
      @LeoVEggers 9 месяцев назад

      @@laurspilca thank you!

  • @ArtemidorosEuthymius
    @ArtemidorosEuthymius Год назад

    35:00

  • @henokkeraga8582
    @henokkeraga8582 Год назад +1

    can you send us github link

    • @laurspilca
      @laurspilca Год назад

      Yes. Already added it. You can find it in the pinned comment.

  • @ravi-thestar8501
    @ravi-thestar8501 Год назад

    which software are you using for recording videos?

    • @laurspilca
      @laurspilca Год назад +2

      It's OBS. But I don't usually record, I most often just go live.

  • @valdrinium
    @valdrinium Год назад +1

    I like your videos, but why are you using such a Tinder thumbnail? It looks like you wanna stick in your viewers more than just jpa/hibernate knowledge, if you know what i mean *wink* *wink*

    • @laurspilca
      @laurspilca Год назад +1

      Hahaha. Lol. Never thought about that. Maybe you just have a dirty mind :))))

    • @piyushlovanshi8142
      @piyushlovanshi8142 Год назад

      😂 actually I love the theme per topic, it makes it much more easier to differentiate between a sea of videos

  • @cesarjusto6225
    @cesarjusto6225 Год назад

    Please subttitle in english

    • @laurspilca
      @laurspilca Год назад

      Hi. Subtitles are enabled but YT takes longer to process long videos. I don't think it's something I could do about that.

  • @JalilHasanov
    @JalilHasanov Год назад

    @laurspilca Hi first of all thanks for a deep explanation. I get this kind of error while running: Unable to locate persister.
    p.s I use mariaDB

    • @laurspilca
      @laurspilca Год назад

      Hi. Did you enumerate your entities in the PU class?