When an Embeddable is used inside a collection the @Type annotation doesn't work. I attached a project with tests.