Комментарии:
How do you save date using java to mongodb? Like birthday, expiry. I want date as a type not string to be able to sort like expiry or the oldest customer or youngest customer.
ОтветитьSir, Eclipse says to MongoClient( "localhost" , 27017 ); red highlighted
"Cannot instantiate the type MongoClient"
// Creating a Mongo client
// Creating a Mongo client
MongoClient mongoClient = new MongoClient( "localhost" , 27017 );
System.out.println("Created Mongo Connection successfully"); );
Helpful content
Ответить