views:

78

answers:

1

We have hibernate-based system and customer wants to get human-readable names of PK and FK. In our project we use annotated entity classes.

Is it renaming possible?

+2  A: 

You may try @ForeignKey annotation (the Hibernate Annotation Docs show an example under the "Single Association related annotations" chapter).

incarnate