Spring JPA selecting specific columns in java

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024

ความคิดเห็น • 14

  • @adithyap2115
    @adithyap2115 4 หลายเดือนก่อน

    Thank you so much. I was looking for the same issue and I got the solution here.

  • @dominiktworek6455
    @dominiktworek6455 ปีที่แล้ว

    Oooh, yea! I was trying to solve this issue in my app for last 2h. Thanks mate that helps me alot.

  • @deepa8177
    @deepa8177 2 ปีที่แล้ว +2

    Great video so informative and learned something really new. Thanks 👍

  • @markozmelendez916
    @markozmelendez916 ปีที่แล้ว

    I thought this video were created in spanish.. However, I understood this video. Thank you.

  • @dkk351
    @dkk351 2 ปีที่แล้ว

    Thank so much, was looking for such scenarios. It helped me a lot

  • @This.Object
    @This.Object ปีที่แล้ว

    well, what is the case when I'm using a native query? banging my head since 24hrs

  • @Кыргызстан-менинмекеним
    @Кыргызстан-менинмекеним 10 หลายเดือนก่อน

    Great tutorial, thanks very much. I used it before and it's really useful. But i can't implement it with list of objects in entity, i didn't find any solution for that. Can you please explain how to implement this many to many field in entity? Thanks for advance 😊

  • @kokabmedia
    @kokabmedia 2 ปีที่แล้ว +1

    Thank you for this!!!

  • @RR-pq2iv
    @RR-pq2iv 2 ปีที่แล้ว

    What is “e” in the query??

    • @CodewithB
      @CodewithB  2 ปีที่แล้ว

      e is an alias to represent employee table. you can use any name you want.

  • @jcrshankar
    @jcrshankar 2 ปีที่แล้ว

    Can't we get single value

    • @CodewithB
      @CodewithB  2 ปีที่แล้ว

      Sure you can get by having only one property in the interface. But for getting single value you can get it with simple query.
      I.e. : @Query("SELECT e.name from employees e where id = ?1")
      String findName(int id);

  • @mohammedmmutaru870
    @mohammedmmutaru870 2 ปีที่แล้ว

    Please nice topic but the explanation is confusing

  • @punyayandrapu8377
    @punyayandrapu8377 2 ปีที่แล้ว

    I followed the 4 th process using interface but I getting error like no dialect mapping for jdbc type: 2002;nested exception is org.hibernate.mappingEXception