Spring Boot + MongoDB Auto-Generated @Id Example | JavaTechie

Поділитися
Вставка
  • Опубліковано 21 гру 2024

КОМЕНТАРІ • 54

  • @harish-wi3ts
    @harish-wi3ts 4 роки тому +3

    Your god gifted for us.

  • @santoshkamat6132
    @santoshkamat6132 4 роки тому +3

    Thanks a lot. You always have solution to every problem. Much better than stackoverflow :)

  • @pratishrutipanda6461
    @pratishrutipanda6461 4 роки тому +1

    Nice video sir ji 🙏🙏

  • @SatishKumar-yi8qi
    @SatishKumar-yi8qi 2 роки тому +1

    Getting null pointer exception in findAndModify()
    method. Document dbsequence to be created in Mongodb database prior running the application?

  • @saurabhkailashchandrapuran8609
    @saurabhkailashchandrapuran8609 4 роки тому +1

    Basant sir please make a series of JPA which cover the mapping, Inheritance, proxy, Transaction, JPQL and all which you think necessay..

  • @bhushanpatil245
    @bhushanpatil245 4 роки тому +2

    Basant sir ,
    Can you make tutorial on autosys job scheduling tool

    • @Javatechie
      @Javatechie  4 роки тому +1

      I heard about this autosys but never get a chance to work .

  • @lohithn8557
    @lohithn8557 2 роки тому +1

    Thanks for the great content, can it with stand unique sequence id generation when multiple calls made to db_sequence generator from multiple threads at same time?

  • @nileshmishra3192
    @nileshmishra3192 4 роки тому +1

    You can also use database section of IntelliJ

    • @Javatechie
      @Javatechie  4 роки тому

      For connection purpose ?

    • @nileshmishra3192
      @nileshmishra3192 4 роки тому +1

      @@Javatechie yes
      www.jetbrains.com/help/idea/database-tool-window.html

    • @Javatechie
      @Javatechie  4 роки тому +1

      Thanks Nilesh for update , I was not aware about this features let me try this

    • @nileshmishra3192
      @nileshmishra3192 4 роки тому +1

      @@Javatechie it is helpful and reduce application switching 😀

  • @jeganmuthu6962
    @jeganmuthu6962 3 роки тому +2

    Your tutorials helps me a lot. Thanks a lot Java Techie.
    Will this works when app running in multiple cloud instance connecting to same mongo db server, will it leads to duplicate number.

  • @rasameer
    @rasameer 4 роки тому +1

    Are you able to update the document table as well?

  • @suryachatterjee3614
    @suryachatterjee3614 2 роки тому +1

    Thanks a lot Man. 😍

  • @ashishsenapati3901
    @ashishsenapati3901 Рік тому

    I am getting Null pointer exception in mongoOpearation

  • @maxjonson9114
    @maxjonson9114 3 роки тому +1

    nice job

  • @BHAVYA-lu1fk
    @BHAVYA-lu1fk 3 роки тому +1

    how to change this int autogenerated id into alphanumeric?

    • @Javatechie
      @Javatechie  3 роки тому

      Use UUID

    • @BHAVYA-lu1fk
      @BHAVYA-lu1fk 3 роки тому

      @@Javatechie can you please let me know what all changes are required as uuid is not working or share the code if you have?
      I'll try to promote all your videos as much as I can.
      Thanks in advance.

  • @viru2njoy
    @viru2njoy 4 роки тому +1

    Awesome :)

  • @vivekravindra
    @vivekravindra 3 роки тому +1

    Great video! Very informative. Just curious as to why we need to use MongoOperations instead of create a separate repository interface for db_sequence. Also does the same approach work for Reactive Mongo?

  • @desurajasekhar349
    @desurajasekhar349 3 роки тому +1

    really it helped me sir

  • @User_xyz_
    @User_xyz_ Рік тому +1

    How I will do for objectId sir
    Please reply

    • @Javatechie
      @Javatechie  Рік тому

      Not getting you buddy can you please elaborate it bit more

    • @User_xyz_
      @User_xyz_ Рік тому +1

      @@Javatechie now I solved my problem thanks for reply

    • @Javatechie
      @Javatechie  Рік тому

      What was the issue and how did you fix it

    • @User_xyz_
      @User_xyz_ Рік тому +1

      @@Javatechie actually I want to generate I'd automatically at the time creation and my I'd type is objectId
      But now in spring boot 3 there is no need of extra code for generating I'd automatically I just solved it by using @Id annotation on my Id field

    • @User_xyz_
      @User_xyz_ Рік тому +1

      @@Javatechie one more annotation @Field("_id")

  • @carpediemschoolmt4528
    @carpediemschoolmt4528 3 роки тому +1

    Gracias amigo, me sirvió...

  • @NexusGamingRadical
    @NexusGamingRadical 2 роки тому +1

    Awesome, is this thread safe?

  • @codejava-v2n
    @codejava-v2n 4 роки тому +1

    Thank you...

  • @cjritzua1963
    @cjritzua1963 4 роки тому +1

    friend I need a tutorial with jasperreport and subreport please thanks

    • @Javatechie
      @Javatechie  4 роки тому

      It's already there please search in my channel

  • @chhotu2064
    @chhotu2064 4 роки тому +1

    May i know , why so many important learning video are going hide in your channel ?

    • @Javatechie
      @Javatechie  4 роки тому

      Everything is open in javatechie , no private or hidden videos

  • @obentertainment8883
    @obentertainment8883 4 роки тому

    I commented on your 30k subscribers you also replied to me do you remember @OB

  • @nishantraj3869
    @nishantraj3869 Рік тому

    O bhaae options.returnNew
    Yrr O kaam nhi kra import package
    Or wahi pr cut le lia🤣
    Sab follow kiya last me pata chala chhodo esse nhi hoga🤣