mongo-java
Inserting data in Mongo DB using java and retrieve the data from Mongo DB using javascript
I am new to Mo开发者_运维问答ngo DB can we insert the data in java and retrieve the data from Mongo DB using java script?[详细]
2023-04-05 22:54 分类:问答how to check from a driver, if mongoDB server is running
I wonder, if there is a way to check if mongoDB server is running from java driver for mongoDB? According to the tutorial, I can do[详细]
2023-03-23 14:19 分类:问答Mongo Database save data from Map
Ihave the below code which works: if (aDBCursor.hasNext()) { DB开发者_运维百科Object aDbObject = aDBCursor.next();[详细]
2023-03-23 01:45 分类:问答Mongodb: client side user authentication security issue
I am using Mongodb Java driver for my Java client application. it needs to connect to mongodb server running remotely.[详细]
2023-03-15 04:47 分类:问答How to specify UUID in mongo $where clause
I have an object that was stored via mongo-java-driver. Object uses java.util.UUID for its _id field. Following is presentation of object via mongo shell:[详细]
2023-03-13 15:03 分类:问答Mongo java driver - retrieve slice of array without any other field
I have a class called user which can be simplified to: class User { String[] friends; //Constructor etc...[详细]
2023-03-10 22:41 分类:问答How to do $or and "and" in mongo query for java driver?
I want to do both AND and $or operations in a single mongo query. In mongo doc i have read mongo queries use AND by default.[详细]
2023-03-03 18:44 分类:问答Mongo+Java+SocketTimeOut
I am using MongoDb and I am facing problems while reading the records from the DB. I am able to get them in the cursor but when I try to get the records from the cursor using[详细]
2023-02-20 07:43 分类:问答mongo + java + too many open files
I am using mongo-java2.4jar for communicating with the mongo server. In my webapp i am using mongo=new Mongo(\"serverIp\",\"port\") where ever it is required and once the processing is complete, I am[详细]
2023-02-12 02:49 分类:问答Executing Mongo like Query (JSON)through Java
I was wondering if there is a way to execute mongo like query directly through Java i.e. we give mongoDB like query as a String to a function in Java driver for mongoDB as a String Object and an DBCur[详细]
2023-02-07 16:46 分类:问答