hibernate之通过注解定义字段

hibernate之通过注解定义字段

hibernate不需要写sql,通过注解@Column(columnDefinition = “”)定义字段
比如我要设置字段的默认值:
@Column(name = “create_time”, columnDefinition = “time…

hibernate不需要写sql,通过注解@Column(columnDefinition = "")定义字段
比如我要设置字段的默认值:

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×