Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想自动生成与一组 DB/2 表相对应的 POJO,以测试 JPA 是否适用于新应用程序。
在古代历史中,我使用 middlegen 创建 Hibernate 映射,然后 hbm2java 可以从中创建 POJO,并且搜索大多会发现过时的信息。我想知道即使对于 JPA,middlegen 是否仍然是可以使用的工具(如果是,那么它的当前主页在哪里),或者是否已经出现了 JPA 的新工具集。
那么,如何从我的 DB/2 模式生成 POJO?
我使用Dali从数据库模式中自动生成 pojo 实体。不知道如何,或者即使它以编程方式工作,但......