Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

267
Views
How to insert and get an ArrayList<String> from a mongoDB collection?

Hi im new to mongodb java driver and need help trying to insert and get an arraylist.

what i want to do is something like this

uuid: samplexxxxxxxxx   (this is the index)
user:sam
profiles: [ID1,ID2,ID3,ID4]   <- THIS
...

I appreciate suggestions and opinions, if it can be done better too. I am new to both java and mongo.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I'd suggest you using a framework like spring boot data.

Please take a look to this example

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!