Announcement Announcement Module
Collapse
No announcement yet.
Creation of a Capped Collection using annotations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creation of a Capped Collection using annotations

    Hi,

    I have just started using MongoDB. I am trying to mark my domain object to map to a capped collection. I can see a @Document annotation which allows me to map to a collection but couldn't find anything which allows me to map my domain object to a capped collection in mongo. Have tried searching but couldn't find any answers. Your help would be much appreciated.

    Regards,

  • #2
    http://static.springsource.org/sprin...va.lang.String, org.springframework.data.mongodb.core.CollectionOp tions)

    Comment


    • #3
      Originally posted by Oliver Gierke View Post
      http://static.springsource.org/sprin...va.lang.String, org.springframework.data.mongodb.core.CollectionOp tions)
      Thanks Oliver, but what I was after was if there was a way to do that with an annotation? a variant of "@Document" perhaps?

      Comment

      Working...
      X