NOT INCLUDING a test case right now as I like to hear about your opinion on this first. And, considering that your are familiar with the code, that should be rather easy to do, or isn't it?
Having a class hierarchy like so
The overridden foreign key for the AbstractEntity#ref property is never applied and hibernate will use the default foreign key for all derived entity classes.
Having debugged a little bit, it seems that overriding foreign key names is not yet supported as overriding for example nullable does work.
Since I have a rather large number of entities for my next project that all derive from the same mapped superclass, not having this feature is quite a bummer as I now must refactor all such associations into the concrete entity classes. And these are quite a lot. As a last resort, I can always also hand craft the schema, but this means additional workflow overhead...
Debian Linux Stretch, Latest Oracle Java 1.8 JDK