[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-574) Allow @DocumentId and @Id to be put on different members

Hardy Ferentschik (JIRA) noreply at atlassian.com
Wed Oct 19 02:49:19 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44074#comment-44074 ] 

Hardy Ferentschik commented on HSEARCH-574:
-------------------------------------------

{quote}
Please tell me how to do this. I want to specify a property as document id, which is unique but it is not a pk field. When I tried this the property which is specified as document id is overwritten by the value of pk.
{quote}

I am not sure what your problem is. It should work to have _ at Id_ and _ at DocumentId_ on different fields. I recommend you post your question on the Search forum - https://forum.hibernate.org/viewforum.php?f=9 - and provide more details. Annotated classes, exceptions, ... If we can reproduce you problem we can revisit this Jira issue.

> Allow @DocumentId and @Id to be put on different members
> --------------------------------------------------------
>
>                 Key: HSEARCH-574
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-574
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: engine
>    Affects Versions: 3.3.0.Alpha1
>            Reporter: Hardy Ferentschik
>             Fix For: 3.3.0.Beta2
>
>
> See forum thread - https://forum.hibernate.org/viewtopic.php?f=9&t=1006457

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list