|
The issue is that in Ejb3JoinColumn#addColumnBinding (and elsewhere), there's not a separation between global quoting and explicit quoting within the mapping/annotation identifiers. This screws up quoting in general.
Realistically, quoting is something that's horrendous in ORM 4 and is better architected in ORM 5. I'm introducing a quick, somewhat hacky fix for 4, since .cfg/.mapping is being replaced anyway. We'll make sure this is supported in 5 as well.
|