Hi,

Yesterday, we tried the following mapping:
EntityA {
      @Embedded
      private EntityB entityB;
}

EntityB {
       @OneToOne
       private EntityC entityC;
}

In this configuration, and only with a @OneToOne, Hibernate JPA
Modelgen doesn't generate the attribute for entityC in EntityB_ (the
rest of our mapping is correctly generated, simple attributes,
@ManyToMany..., we only have this problem with all our @OneToOne
attributes in our @Embeddable entities).

I don't know if it's something obvious/not supported or if we should
find some time to work on a test case. Ping me if we should.

Thanks for the feedback and have a nice day.

-- 
Guillaume
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to