[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-265) Raise warnings when an abstract class is marked @Indexed
Hardy Ferentschik (JIRA)
noreply at atlassian.com
Thu Nov 6 11:02:04 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31630#action_31630 ]
Hardy Ferentschik commented on HSEARCH-265:
-------------------------------------------
But you can search on an abstract class.
For example, let's say you have an abstract class File and two subclasses Folder and Document. At the moment I can annotate them all with @Indexed, generate some document and folders and then search for something like createFullTextQuery( query, File.class ), right?
If I remove the @Indexed from File I get an exception since there won't be a document builder for it.
> Raise warnings when an abstract class is marked @Indexed
> --------------------------------------------------------
>
> Key: HSEARCH-265
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-265
> Project: Hibernate Search
> Issue Type: Improvement
> Components: mapping
> Reporter: Emmanuel Bernard
> Priority: Minor
> Fix For: 3.1.0.CR1
>
>
--
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