[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-184) Introduce @IndexedEmbeddeds(IndexedEmbedded[]) to embed an entity several times

Stephane Epardaud (JIRA) noreply at atlassian.com
Tue Apr 22 11:40:33 EDT 2008


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

Stephane Epardaud commented on HSEARCH-184:
-------------------------------------------

This feature is only useful if HSEARCH-185 is implemented.

> Introduce @IndexedEmbeddeds(IndexedEmbedded[]) to embed an entity several times
> -------------------------------------------------------------------------------
>
>                 Key: HSEARCH-184
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-184
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: mapping
>    Affects Versions: 3.0.1.GA
>            Reporter: Stephane Epardaud
>            Priority: Minor
>
> Following the same rationale as @Fields I think an @IndexedEmbeddeds annotation would be useful:
> {code}
> @Retention( RetentionPolicy.RUNTIME )
> @Target( { ElementType.METHOD, ElementType.FIELD} )
> @Documented
> public @interface IndexedEmbeddeds {
> 	IndexedEmbedded[] value();
> }
> {code}
> This way we can embed entities indexes using different prefixes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list