Это видео недоступно.
Сожалеем об этом.

Step-by-Step Tutorial: How to Integrate MongoDB in Your Spring Boot Application

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • 🟡 Get 1 to 1 coaching with me: topmate.io/eng...
    🟡 Donate: paypal.me/engi...
    🟡 Perks: www.youtube.co...
    🔴 Instagram: / thevipulvats
    🔴 GitHub: github.com/the...
    🔴 Twitter: / thevipulvats
    🔴 LeetCode: leetcode.com/t...
    🔴 LinkedIn: / thevipulvats
    🔴 Discord: / discord
    🟢 Source code: github.com/cho...
    Here is a concise guide on how to integrate MongoDB in a Spring Boot application in 10 steps:
    Step 1: Set Up Your Spring Boot Project:
    Create a new Spring Boot project using your preferred IDE or by using Spring Initializr. Include the necessary dependencies, including the MongoDB driver.
    Step 2: Define a MongoDB Configuration:
    Create a configuration class with the necessary configurations for connecting to MongoDB, including the host, port, and database name.
    Step 3: Define a MongoDB Entity:
    Create a POJO (Plain Old Java Object) class to represent your data model. Annotate this class with the necessary MongoDB annotations to define the collection name and field mappings.
    Step 4: Create a Repository Interface:
    Define a repository interface that extends the appropriate MongoDB repository interface. This interface will handle the CRUD (Create, Read, Update, Delete) operations for your MongoDB entity.
    Step 5: Implement Service Layer:
    Create a service class to handle business logic and interact with the MongoDB repository. Define methods for data manipulation and retrieval.
    Step 6: Implement Data Initialization (Optional):
    If required, initialize data in the database during application startup using data initialization scripts or methods.
    Step 7: Implement Controller for REST API:
    Create a controller class to define REST endpoints for interacting with the MongoDB data. Implement methods for handling HTTP requests, utilizing the service layer.
    Step 8: Test Endpoints:
    Test the REST API endpoints using tools like Postman or any other HTTP client to ensure the proper functioning of the MongoDB integration.
    Step 9: Run and Test the Application:
    Run the Spring Boot application and verify the integration by performing CRUD operations through the defined REST API endpoints.
    Step 10: Handle Exception and Error Scenarios:
    Implement error handling mechanisms to gracefully manage exceptions and errors that might occur during MongoDB integration. Implement proper logging and error response handling.
    00:00 Introduction
    01:06 Configuration
    04:12 Best Practices
    05:31 Repository
    07:22 MongoRepository
    09:10 @Document
    09:51 @Id
    11:39 Saving entity in db
    18:10 Getting entity from db
    22:36 Deleting entity from db
    23:07 Updating entity in db

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

  • @asaiteja_23
    @asaiteja_23 5 месяцев назад +15

    Instead of web series, i’m using RUclips for learning now. Your channel is So underrated. Went through all the lectures including mongodb, spring, system design, javascript, Java 8 (touch-notch) and Now following your Springboot and Linux course. You are full version of engineering college to me. Thank you so much. And also following your leetcode questions series too. If i get a job, i’ll give the credit most of it.

    • @asaiteja_23
      @asaiteja_23 5 месяцев назад +1

      Also, Please start Frontend Framework course too. Like react or angular

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

      Should start first javascript in brief then angular

  • @ankitsrivastava2750
    @ankitsrivastava2750 7 месяцев назад +4

    The way you have explained the concept & implementation, its flawless. Thanks a lot to you for creating contents.

  • @sohamtanpathak9067
    @sohamtanpathak9067 26 минут назад

    Thanks a lot for this this informative video, helped a lot!!

  • @bishmayranjansahoo6599
    @bishmayranjansahoo6599 Месяц назад +1

    Hello Everyone,
    Just for clarification why there is no @Component on the interface class:
    Example: public interface SortAlog(); public class BubbleSortAlgo();
    1. Interfaces and Beans:
    - An interface defines a contract for a class to implement certain methods.
    - A bean is a Spring-managed component that can be injected into other parts of your application.
    2. @Autowired:
    - This annotation allows Spring to automatically inject dependencies (i.e., create and manage objects) for you.
    - When you use `@Autowired`, Spring looks for a bean of the required type and injects it.
    3. Dynamic Binding:
    - When you use an interface, the actual implementation is determined at runtime.
    - Spring dynamically binds the interface to the appropriate implementation.
    4. @Component:
    - This annotation marks a class as a Spring component (i.e., a bean).
    - In your example, `BubbleSortAlgo` is annotated with `@Component`, making it a candidate for injection.
    So, in summary, `@Autowired` handles dependency injection, and `@Component` marks classes as beans. The interface allows dynamic binding to the correct implementation.
    Thanks.

    • @user-yx3lo8dd9s
      @user-yx3lo8dd9s 9 дней назад

      Bro it’s showing create a bean of the interface how to solve the issue

    • @brolife6635
      @brolife6635 6 дней назад

      Copy the error paste it on stack overflow.
      Much easier and better way to do R&D and solutions bhi mil jate majority error code ke

  • @OzonexAnime
    @OzonexAnime 2 месяца назад

    God Level Explanation and This guy deserves popularity

  • @jaikumar2435
    @jaikumar2435 2 месяца назад

    Awesome work your content is great. The way you engage it makes it more fun to learn. Please keep up the great work thank you so much for all your efforts. On a very light note- 🙂your tone often starts sounding like Anubhav Singh Bassi 🙂which makes it all the more fun to learn

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

    Debug process was new to me. Thanks for walkthrough.

  • @harshojha2292
    @harshojha2292 10 дней назад

    If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

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

    thank you sir for this amazing course. ❤

  • @Piyush_9
    @Piyush_9 27 дней назад +2

    I was getting errors after externally adding dependency of mongodb , so I suggest to add that dependency while creating project using spring initializer itself name as Spring Data MongoDB

    • @samaysarah7417
      @samaysarah7417 16 часов назад +1

      Hi bro, I am also facing errors with mongodb dependencies. Not able to scan mongorepository. how did you fixed it?

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

    Your teaching skill is outstanding ...

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

    I am fully new in java field but your video is too good 😊. Way of learning great .

  • @brolife6635
    @brolife6635 6 дней назад

    Parallel other DB reference bhi lete raho sir for example few annotations which we use in JPA are different in mongo DB . Jo jpa use kare hai unke liye refer karna easy hoga but new jo honge unhe thoda problem hoga initially grasp karne mai . Just a feedback . Rest great work keep on doing it.

  • @Sarka.r
    @Sarka.r 3 месяца назад

    tagda lage raho munna bhai, the language you used that' s the connection between you and us.

  • @rizwanshahid1447
    @rizwanshahid1447 3 месяца назад

    Thank you so much, Sir. great work. every video worth of million views

  • @user-ui2tj7yy1t
    @user-ui2tj7yy1t 9 месяцев назад

    It's just amazing, explanation is soo good. Keep uploading...

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

      Thank you brother, it will be a huge help if you can share this course on LinkedIn.

  • @razaabbas308
    @razaabbas308 13 часов назад

    Sir getAll() nhi chlrha sahi mongosh mein find() pr kuch nhi arha jabke post horha ha or postman pr bhi b=get nhi chlrha

  • @me-guruji6461
    @me-guruji6461 Месяц назад

    One Thing i want to add i thought spring learning will be difficult but its easy Thanks @ED

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

    marvelous concept

  • @tanujverma1126
    @tanujverma1126 3 месяца назад +2

    Sir my getAll()
    Deletebyid()
    update()
    not working
    and not able to debug can you help;

    • @vaibhavzalte4430
      @vaibhavzalte4430 2 месяца назад +1

      @Document(collation="company") insted of this use
      @Document(collection = "journal_entries") small diffrance

  • @sonalagrawal-up3bq
    @sonalagrawal-up3bq 21 день назад

    Why does postman shows date and time as id while the db shows an actual auto generated id?

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

    Eagerly waiting for the upcoming videos

  • @greenskull4972
    @greenskull4972 28 дней назад

    Loved the content. I am waiting for the React series with Javascript even if it comes as a paid course. !!!!!

  • @devsharma402
    @devsharma402 2 месяца назад +1

    Get call showing internal error in postman and code return perfectly how can i resolve it ?

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

      how you resolved it?

  • @user-nl1og3pz2z
    @user-nl1og3pz2z 5 месяцев назад

    Sirji Love your videos! Please error handling and uske best practices bhi cover karna!

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

    Mast lagg rahe hai ab takk videos

  • @prathameshpawar1912
    @prathameshpawar1912 2 месяца назад

    Bahut Badhiya, sab kuch bina bakwas ke!!!

  • @shwetachoudhary9003
    @shwetachoudhary9003 2 месяца назад

    the explanation is soo perfect and easy

  • @wonderweebwoman
    @wonderweebwoman 3 месяца назад

    How to debug was the cherry on top!

    • @tanujverma1126
      @tanujverma1126 3 месяца назад

      bro my getAll()
      Deletebyid()
      update()
      not working
      and not able to debug can you help;

    • @wonderweebwoman
      @wonderweebwoman 3 месяца назад

      @@tanujverma1126 Sure! give some details

    • @wonderweebwoman
      @wonderweebwoman 3 месяца назад

      @@tanujverma1126 sure bro, give some details

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

    Please upload next series
    I am waiting for your next series

  • @Uzair_Anwar2299
    @Uzair_Anwar2299 2 месяца назад

    Everything is good. Please pick some performance related topics like threads management, tomcat related stuff, api time outs, inspection of stack stace, max body length of payload for spring boot, actuators,

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

    very beautifully explained

  • @anilprajapati9511
    @anilprajapati9511 3 месяца назад

    best series on youtube

    • @EngineeringDigest
      @EngineeringDigest  2 месяца назад

      Thanks a lot! Please share this playlist on LinkedIn. It will be a huge support.

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

    Great explanation sir, thanks a lot

  • @kshitizsaini4507
    @kshitizsaini4507 3 месяца назад

    I have a doubt :
    id is coming out as an object of type : {date,timeStamp} for eg:
    {
    "id": {
    "timestamp": 1714609873,
    "date": "2024-05-02T00:31:13.000+00:00"
    },
    "title": "Night",
    "content": "Im Sleeping",
    "date": "2024-05-02T06:01:13.819"
    },
    if we are using this in our project this might not work. How to make it return ObjectId as String or some other compatible dataType. ?

  • @rudrapratap317
    @rudrapratap317 2 месяца назад

    Best Tutorial Ever, Thank you bhai

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

    so amazing playlist sir

  • @tarunsinghtomar8623
    @tarunsinghtomar8623 2 месяца назад

    Great Explanation

  • @pakistanmerenazarsay7174
    @pakistanmerenazarsay7174 3 месяца назад

    I am unable to call the methods which I wrote inside the service rather I am able to call the methods directly which are present in MONGOREPOSITORY CLASS ANY CLUE WHATS WRONG THERE

  • @ShubhamAwasthi-o8k
    @ShubhamAwasthi-o8k Месяц назад

    Can we use @Service annotation instead of @Component for creating the bean in the service class? Btw teaching skills are outstanding.

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

    Nice tutorials. Please create advance tutorials on spring boot

  • @targetsubconscious3003
    @targetsubconscious3003 3 месяца назад +1

    make series on microservices

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

    Hello Vipul, I am glad to follow your videos. All of them has amazing contents. Though I have a query, while returning object from save method, I do not get Object ID (Timestamp and Date) field in my response in postman. It there anything I am missing?

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

    I have just 1 doubt , why did we not use @Repository annotation in repo class and @Service in service class ?

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

      We have @Component and all other annotations like @Controller @Service and @Repository are stereo typed annotations they all works the same
      And you are right we have to use specific annotations for the perticular class (may be sir forget) for the convention

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

    Fab❤

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

    Awesome, great content

  • @AzfarSyed-kh9iy
    @AzfarSyed-kh9iy 3 месяца назад

    Very nice tutorial

  • @neerajverma942
    @neerajverma942 2 месяца назад

    thanks for this tutorial easily understandable . debug cocept is new for me great sir 😎😎

  • @user-fe3wc8wp5b
    @user-fe3wc8wp5b 6 месяцев назад

    sir aapne mongoTemplate kyu nhi use kiye...?
    agr ho skte to MongoTemplate pe video bna dijiye

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

    killed it

  • @codedecode8686
    @codedecode8686 5 месяцев назад +1

    findAll function not working
    Can anyone help me

    • @sadiqpatel8519
      @sadiqpatel8519 4 месяца назад +1

      It works, the problem is we should not be using the collation attribute in the entity.
      Instead write @Document(value = "journal_entries")

    • @pakistanmerenazarsay7174
      @pakistanmerenazarsay7174 3 месяца назад +1

      After debugging and checking I have this issue due to the spelling @Document("company") you can omit everything after @Document Monogo itself take it from DB :) now it works

  • @OpSorryYt_2.0M_Tech
    @OpSorryYt_2.0M_Tech 8 месяцев назад +1

    Nice Voice Sir. I know everything but I am a fresher Sir can you help me for complete my fresher teg 😊😅

  • @nihal3272
    @nihal3272 13 дней назад

    I am unable to call the methods which I wrote inside the service rather I can call the methods directly which are present in MONGOREPOSITORY

    • @EngineeringDigest
      @EngineeringDigest  12 дней назад

      It sounds like there might be an issue with how the service methods are being called or possibly an issue with dependency injection. Ensure that your service is properly annotated with @Service and that it's being injected correctly where you're trying to use it. Also, double-check that the methods in the service are public and that you're calling them on an instance of the service, not directly on the repository. If you can provide some code snippets, I can help debug further!

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

    Excellent.

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

    Doesn't the db thread block the thread? Awesome video btw

  • @ROHANKUMAR_
    @ROHANKUMAR_ 2 месяца назад

    can anyone explain why it is happen

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

    Sir mere get call work nhi kr rhe error show ho rha plz help

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

    Nice video

  • @anandvidyasagar
    @anandvidyasagar 3 месяца назад

    Is there a github link to these code lessons?

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

    Sir I am facing an issue regarding the connection to database is there a way you can help me out?

  • @anuragmalasi6974
    @anuragmalasi6974 11 дней назад

    It was an amazing video but....i was not able to remember all. How will i build a project on my own?

    • @anuragmalasi6974
      @anuragmalasi6974 11 дней назад

      although i understood how things are working

  • @devsharma402
    @devsharma402 Месяц назад +1

    Spring boot ka sara code sahi likha h lakin api hit ni error 404 ara h kyo ?

    • @chaitanyakashyap9520
      @chaitanyakashyap9520 21 день назад +1

      Bhai Sahi Ho gaya kya PLease bhai bata do kese thik kiya

    • @devsharma402
      @devsharma402 21 день назад

      @@chaitanyakashyap9520 bhai ek baar postman ko refresh karo fir get ki api hit karo

    • @devsharma402
      @devsharma402 21 день назад

      @@chaitanyakashyap9520 aur code check karo apna shyd koi problem ho

    • @devsharma402
      @devsharma402 21 день назад

      @@chaitanyakashyap9520 ha hogaya mera sahi

  • @Yogeshwar-cv1ci
    @Yogeshwar-cv1ci 3 месяца назад

    MongoRepository class are not inherited why ? And @Document @Id shows error

  • @sawanverma3605
    @sawanverma3605 2 месяца назад

    In this video we can say this is crud operation?

    • @EngineeringDigest
      @EngineeringDigest  2 месяца назад

      Yes

    • @sawanverma3605
      @sawanverma3605 2 месяца назад

      ​@@EngineeringDigestin service class by you use @component rather than using @service.

  • @Arjun2mkap3929
    @Arjun2mkap3929 Месяц назад +1

    25:21

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

    hello Sir Me Jab Data Get Karta hu Tab Data Get Nahi Ho Pa Raha hey Put To ho Raha He pr Get Nahi Ho Raha
    {

    "status": 500,
    "error": "Internal Server Error",
    "path": "/DataSend"
    }
    Ye Error Aa Raha Hey PostMan Mey

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

      bro update ur code with
      @Putmapping("id/{myId}") and where ever sir placed id replace it with myId .

    • @prajjwal_gaming
      @prajjwal_gaming 19 дней назад

      @@AnshulyouT Bhai merko same issue getAll waali api m aa raha hai

    • @chaitanyakashyap9520
      @chaitanyakashyap9520 17 дней назад

      @@AnshulyouT BRo please copy and paste that Code Part
      please

    • @AnshulyouT
      @AnshulyouT 17 дней назад

      @@chaitanyakashyap9520 which part bro ?

    • @chaitanyakashyap9520
      @chaitanyakashyap9520 17 дней назад

      @@AnshulyouT jahan jahan Change kiya hai code ko usse copy kar ke de do bhai Please help ho jayegi

  • @soumyadas9939
    @soumyadas9939 2 месяца назад

    Great explanation but one thing how will I remember all this? This topic is quite vast.

  • @ROHANKUMAR_
    @ROHANKUMAR_ 2 месяца назад

    it is showing error in mongorepositry

    • @VV-ps8rt
      @VV-ps8rt Месяц назад

      after updating pom.xml, right click --> maven --> reload project

  • @mohdfarhan1038
    @mohdfarhan1038 3 месяца назад

    eclipse m p banao backend and frontend connect kr bake

  • @hamdanahmed3565
    @hamdanahmed3565 3 месяца назад

    Lovely

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

    {
    "timestamp": "2024-06-19T12:20:00.947+00:00",
    "status": 500,
    "error": "Internal Server Error",
    "path": "/journal"
    }
    please help anyone .........

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

      have you solve the error?

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

      @@shrutiraval6806 both of you guys look for the statement @Putmapping("id/{myId"}). here viper sir updated the variable myId with id so update id as myId everywhere or update with id everywhere . thank me later 😃

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

    I’m getting server error (500) for get http but it is working for getbyid

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

      Have you solve this error? i am also getting this error

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

      @@shrutiraval6806 yes

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

      @@shrutiraval6806 I think you can try @Document only instead of @Document(what ever you write)

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

    Local date time throw error

  • @xypq8310
    @xypq8310 2 месяца назад +2

    Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.2:deploy (default-deploy) on project journalApp: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -> [Help 1]

    • @user-vj8vl8yt6q
      @user-vj8vl8yt6q 2 месяца назад +1

      Check application.propeties file is correct or not

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

    Content is good ❤ but Why you use mongodb instead of mysql

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

    🌟🌟🌟🌟🌟

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

    13:47

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

    findAll function not working

    • @pakistanmerenazarsay7174
      @pakistanmerenazarsay7174 3 месяца назад

      After debugging and checking I have this issue due to the spelling @Document("company") you can omit everything after @Document Monogo itself take it from DB :) now it works

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

    MySQL se kese kare 🥺

  • @chocolateboy7001
    @chocolateboy7001 2 месяца назад

    Muze samjane mein taklif ho rahi hai.. Help me sir..

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

    Can it be like in put mapping
    @PutMapping("id/{id}")
    public JournalEntry upadteJournalEntry(@PathVariable ObjectId id, @RequestBody JournalEntry myEntry){
    JournalEntry old = jounralEntryById(id);
    if(old!=null){
    myEntry.setId(id);
    }
    createEntry(myEntry);
    return myEntry;
    }

  • @Himanshu-vi1jv
    @Himanshu-vi1jv 4 месяца назад

    bhaiya jaldi se khatm krdo ye project fir ise ka frontend start krdo everyone is waiting

  • @siddharthsaurav3657
    @siddharthsaurav3657 2 месяца назад

    This course should have been paid

  • @rizwanshahid1447
    @rizwanshahid1447 3 месяца назад +2

    There may be error in JournalEntryService class. If Autowired the constructor as follows then it works:
    @Component
    public class JournalEntryService {
    @Autowired
    public JournalEntryService(JournalEntryRepository journalEntryRepository) {
    this.journalEntryRepository = journalEntryRepository;
    }
    private JournalEntryRepository journalEntryRepository;
    public void saveEntry(JournalEntry journalEntry) {
    journalEntryRepository.save(journalEntry);
    }
    }

    • @chaitanyakashyap9520
      @chaitanyakashyap9520 25 дней назад

      Bhaia apka sahi ho gaya ho to bata do please help ho jayegi bhai ji please

  • @HarshVardhanTiwari-md3dz
    @HarshVardhanTiwari-md3dz 2 месяца назад

    {
    "timestamp": "2024-06-19T07:02:14.396+00:00",
    "status": 500,
    "error": "Internal Server Error",
    "path": "/students"
    }
    please help me...

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

      bhai kese hua thik

    • @prajjwal_gaming
      @prajjwal_gaming 20 дней назад

      @@_abhiishek_ bhai apka hua kya ye thik merko getAll m aur delete m aa raha hai 500

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

    import com.fasterxml.jackson.databind.JsonSerializer;
    import com.fasterxml.jackson.databind.SerializerProvider;
    import org.bson.types.ObjectId;
    import java.io.IOException;
    public class ObjectIdSerializer extends JsonSerializer {
    @Override
    public void serialize(ObjectId objectId, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) throws IOException {
    jsonGenerator.writeString(objectId.toHexString());
    }
    }

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

    Please upload next series
    I am waiting for your next series

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

    findAll function not working

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

      Same

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

      @@anshulchoure5927 It works, the problem is we should not be using the collation attribute in the entity.
      Instead write @Document(value = "journal_entries")