Re: [hibernate-dev] [OGM] Mapping of embedded

2016-07-26 Thread Guillaume Smet
On Mon, Jul 25, 2016 at 2:10 PM, Emmanuel Bernard wrote: > I am having second thoughts on the collection case. When I look at ORM's > test suite and AttributeOverrideTest + PropertyRecord, the property name > is not including the owning property (addresses in this case). > > @AttributeOver

Re: [hibernate-dev] [OGM] Mapping of embedded

2016-07-25 Thread Emmanuel Bernard
On Sat 2016-07-23 1:55, Guillaume Smet wrote: > Hi all, > > So after having discussed this issue with Emmanuel: > > 1/ is correct. It's the behavior we expect considering the ORM behavior. If > we want the postal_code to be nested in homeAddress, we need to use > @Column(name = "homeAddress.po

Re: [hibernate-dev] [OGM] Mapping of embedded

2016-07-22 Thread Guillaume Smet
Hi all, So after having discussed this issue with Emmanuel: 1/ is correct. It's the behavior we expect considering the ORM behavior. If we want the postal_code to be nested in homeAddress, we need to use @Column(name = "homeAddress.postal_code") or @AttributeOverride(name="zipCode", column=@Co

Re: [hibernate-dev] [OGM] Mapping of embedded

2016-07-13 Thread Guillaume Smet
So this is a followup of my previous email (looks like I found out the Send shortcut on GMail...)... which was supposed to be a followup of: * https://hibernate.atlassian.net/browse/OGM-893 * https://github.com/hibernate/hibernate-ogm/pull/728 * and a discussion we had yesterday with Davide. Ta

[hibernate-dev] [OGM] Mapping of embedded

2016-07-13 Thread Guillaume Smet
Hi, This is a followup of: ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev