[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-659) @IndexedEmbedded entities with empty String prefix should be clearly flagged

Kyrill Alyoshin (JIRA) noreply at atlassian.com
Mon Jan 3 20:46:05 EST 2011


@IndexedEmbedded entities with empty String prefix should be clearly flagged
----------------------------------------------------------------------------

                 Key: HSEARCH-659
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-659
             Project: Hibernate Search
          Issue Type: Bug
          Components: engine
    Affects Versions: 3.3.0.Final
            Reporter: Kyrill Alyoshin


I've just spent some time figuring out an issue that was caused by the simple fact that one of my @IndexedEmbedded associations was mapped as @IndexedEmbedded(prefix = ""). The documentation clearly states that such things are not allowed. However, it sure would be nice if the framework gave some feedback to the developer by either causing the application to fail at start-up or simply by logging an error message in the logs. 

-- 
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