Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Document
- public class PriceData {
- ......
- }
- @Document(collection = "MyPriceData")
- CollectionOptions options = new CollectionOptions(null, 50, true);
- mongoOperations.createCollection("myCollection", options);
- db.runCommand({ convertToCapped: 'reservation', size: 9128 })
Add Comment
Please, Sign In to add comment