I need to get the referenced table from a ForeignKey but there is no such property.
I can get the table but this is useless because it's the table I got the ForeignKey from.
Here's an example. What I want is TOSCA.KAMPAGNE.
Is there a way to get it?
Use ForeignKey.getKey().getTable()
ForeignKey.getKey()
getTable()