JPA ID Auto Incrementation Identity vs Sequence

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • Hello and welcome to this tutorial! In today's video, I'll be demonstrating the most commonly used strategies for generating primary keys in JPA. Namely IDENTITY and SEQUENCE.
    The JPA specification offers various methods to generate auto-incremented primary keys. By simply adding annotations to the entity identifier, you can achieve this. Understanding how these annotations work in the background is crucial.
    tramotech.de

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

  • @andreasronge1046
    @andreasronge1046 7 หลายเดือนก่อน +3

    well explained

  • @idriss2229
    @idriss2229 7 หลายเดือนก่อน +5

    Thanks for this video,
    In fact I’ve never used GenerationType.squence in my jpa .
    Now knowing the difference i will try to use it more often.
    Thanks again

    • @TramoTech
      @TramoTech  7 หลายเดือนก่อน

      Great!

  • @user-uu9dm6dr8p
    @user-uu9dm6dr8p 7 หลายเดือนก่อน +3

    👍👍👍👍👍👍

  • @user-uu9dm6dr8p
    @user-uu9dm6dr8p 6 หลายเดือนก่อน

    👍👍👍👍👍👍

  • @mostafalakhlifi3518
    @mostafalakhlifi3518 7 หลายเดือนก่อน

    👍👍👍👍👍👍