Re: [hibernate-dev] [OGM] @Column and embedded objects in OGM

2016-01-06 Thread Gunnar Morling
Hi, Yes, I noticed this some time ago, too. It's tracked by https://hibernate.atlassian.net/browse/OGM-893. As it stands, I don't think it's fixable using the ORM ImplicitNamingStrategy/PhysicalNamingStrategy contracts: The former doesn't apply for explicitly given names, the latter lacks the req

[hibernate-dev] [OGM] @Column and embedded objects in OGM

2016-01-06 Thread Emmanuel Bernard
Hey guys, Marco found something that really surprised him. I am not sure if that’s a widespread behavior or just specific to CouchDB’s backend. @Entity class A { … B embedded; } @Embeddable class B { String c; @Column(name=“real_d”) d; } The document structure is roughly { …