The bug seems to be more complicated. It appears only when the embedded entity doesn't contain any SQL columns. The exemple submitted by Vincent Cornet shows that. We have an embedded Emb that contains only a OneToMany association. See org.hibernate.test.component.basic2.ComponentJoinsTest.

I've send a pull request on github.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira