Announcement Announcement Module
Collapse
No announcement yet.
How to get metadata from @Document annoated Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get metadata from @Document annoated

    HI,
    I need get some metadata from @Document annotated class,e.g which field mapped?
    how can i get this metadata? which annotation processor process @Document annotated class ?
    please tell me. Thanks

  • #2
    None does. You can get access to a (Mongo)MappingContext and ask it for a (Mongo)PersistentEntity which contains the mapping information.

    Comment

    Working...
    X