[JAVA-352] DBCursor.hint(DBObject) creates index name instead of passing hint through Created: 15/May/11  Updated: 28/May/11  Resolved: 15/May/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.6

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 4 hours
Time Spent: Not Specified
Original Estimate: 4 hours

Issue Links:
Related

 Description   

This method should just send the hint (DBObject) on to the server, not interpret it to mean the name of those fields as defined by the indexName generator as a string. The _hint field + hint() code should be cleaned up to allow a String or DBObject hint.



 Comments   
Comment by auto [ 15/May/11 ]

Author:

{u'login': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: JAVA-352: fix hint(DBObject) to passthrough
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/82d796d1cebd0fa6f15ad6fa1ff5dfb96f0b82f1

Generated at Thu Feb 08 08:52:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.