问题描述:

How to retrieve mapping entity class name from table name in JPA in runtime?

Following line

entityClass.getAnnotation(Table.class).name()

returns the table name. Is the opposite also possible in ORM?

相关阅读:
Top