摘要:
【hibernate】重写物理表名和列明 转载:https://www.cnblogs.com/yangchongxing/p/10357123.html 假设你的数据库命名有这样的需求,表都以 ycx_ 开头,列都以 ycx_ 开头,该如何实现?首先想到的是用 @Entity(name="ycx_ 阅读全文
摘要:
【hibernate】常用注解 转载:https://www.cnblogs.com/yangchongxing/p/10357118.html 目录 1、@Entity 实体 2、@Table 表 3、@Id 和 @GeneratedValue 主键及生成策略 4、@Column 列 5、@Dyn 阅读全文