Announcement Announcement Module
No announcement yet.
Solr JPA Help Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Solr JPA Help

    I have a JPA class annotated with a composite id like so:

    class EntityPK {
        @Field  // solr field
        private String prop;
        @Field // solr field
        private String prop2;
    class Entity {
        private EntityPK id;
    I can retrieve records from Solr with this setup but the data received is not getting mapped back into the EntityPK properties. What is the best way to handle this situation with Spring Data Solr? Do I need to implement some custom mapping class?

  • #2
    Please, move your question to the StackOverflow - we are going to close this forum soon and rely on SO.
    We need to clean this forum (old unanswered question) before close it.

    Thanks for understanding