title: Spring Data, _id field mapping
body: <p>Spring-data for mongodb treats fields named "id" special: <a href="http://static.springsource.org/spring-data/data-mongo/docs/1.0.0.M5/reference/html/#d0e1508" rel="nofollow">http://static.springsource.org/spring-data/data-mongo/docs/1.0.0.M5/reference/html/#d0e1508</a>, in that it tries to map a field named id to the _id field in MongoDB. Is there a way to disable this behavior? I'd like the mongodb ObjectId only mapped to fields with the explicit <code>@Id</code> annotation. Currently I have fields named id in mongodb, and this is not something I can change, and I'm finding it to be near impossible to get spring-data to map the correct id value back into the pojo.</p>