Results 1 to 2 of 2

Thread: How to get metadata from @Document annoated

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Posts
    1

    Default 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. #2
    Join Date
    Apr 2006
    Location
    Dresden, Germany
    Posts
    483

    Default

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •