bguerout/jongo — Issue #20: Handle ObjectId in parameters
Author: bguerout
Created: 2012-01-17 21:25:03+00:00
State: open

Mongo does not require entities to have ObjectId, _id property can be a simple String

A 0-dev solution should be to create a query with ObjectId

```java
new Query.Builder("{_id:ObjectId(#)}").parameters(id);
new Query.Builder("{_id:#}").parameters(simpleId);
```