Quantcast
Channel: Spring Community Forums - NoSQL
Viewing all articles
Browse latest Browse all 128

Want to store a Key-ValObject data in MongoDB (Like Redis)?

$
0
0
Hi,
I want to store/retrieve the Key-values in the MongoDB (Just like Redis).
Can anyone help me with link.

Example : Query searchUserQuery = new Query(Criteria.where("key"));
MyPOJOClass savedObj = mongoTemplate.findOne(searchUserQuery);


Thanks in advance
Bhaskar

Viewing all articles
Browse latest Browse all 128

Trending Articles