JPA: How do I specify the table name corresponding to a class at runtime?

前端 未结 5 2298
执笔经年
执笔经年 2020-12-01 05:11

(note: I\'m quite familiar with Java, but not with Hibernate or JPA - yet :) )

I want to write an application which talks to a DB2/400 database through JPA and I ha

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-01 05:18

    as alternative of XML configuration, you may want to dynamically generate java class with annotation using your preferred bytecode manipulation framework

提交回复
热议问题