Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8547099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:11:35+00:00 2026-06-11T13:11:35+00:00

When querying for a date with Spring Data on MongoDB, the serialized DBObject could

  • 0

When querying for a date with Spring Data on MongoDB, the serialized DBObject could look something like {“start” : { “$lt” : {“$date” : “2012-08-06T16:19:14.044Z”}}}, which is valid in the context of Spring Data, but that query brings no results in Mongo’s console. In the console this one does return the expected results {“start” : { “$lt” : ISODate(“2012-08-06T16:19:14.044Z”)}}}.

So what is making queries in Spring Data and Mongo’s console different?
Thx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:11:36+00:00Added an answer on June 11, 2026 at 1:11 pm

    You can’t run the “serialized” query from Spring Data in the shell. The “serialized” query shows up in standard JSON, rather than the extended JSON that contains ISODate(), etc., and it’s not compatible with the shell.

    http://www.mongodb.org/display/DOCS/Mongo+Extended+JSON

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am querying facebook graph api. It returns date in following format: 2012-01-23T23:52:29+0000 .
Querying wordpress posts according to their tags can look like this (if I pieced
i'm querying a database like this: SELECT * from Log WHERE cookieId IN (select
Basically I'm querying a table like the following keywordId | keyword 1 abc 1
I have model with following field. date = models.DateTimeField(auto_now_add=True) When querying such model i`d
I am querying the CallLog.Calls content provider for call details. I do something of
I am storing data in Sqlite Database along with the date of insertion. The
I am querying a MySQL table and selecting varchar, Date, Time, Double, and Boolean
When querying SolR with a date SolR will actually highlight stuff from the text
I'm new to MongoDB and was wondering about querying for domain objects with registered

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.