title: how to get inserted object id in jongo with mongodb
body: <p>Account entity<br></p>
  
  <pre><code>public class Account 
  {       
      @MongoObjectId
      private String _id;       
      private String name;    
      public String get_id() {
          return _id;
      }    
      public void set_id(String _id) {
          this._id = _id;
      }   
      public String getName() {
          return name;
      }    
      public void setName(String name) {
          this.name = name;
      }
  }
  
  public class JongoExample {&lt;br&gt;
     MongoClient mongoClient = new MongoClient(); // code to connect with database
          DB db = mongoClient.getDB("kommboxj");
  Jongo jongo = new Jongo(db);&lt;br&gt;
  MongoCollection accountCollection = jongo.getCollection("account");
  Account account = new Account();&lt;br&gt;
  account.setName("rks");&lt;br&gt;
  String accountIdMongo = (String) accountCollection.insert(account).getUpsertedId();}
  </code></pre>
  
  <p>Here I found acountIdMongo is null, don't know how to get it, here I want inserted account ObjectId.</p>