当你使用GenerationType.AUTO 时,Hibernate 会根据Hibernate 方言生成策略。如果你需要支持多个数据库,以下一种常用的方法。@Entitypublic class Author { @Id ...
確定! 回上一頁