用entity建表怎么在mysql数据库中没有生成
1个回答
展开全部
rt javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@SuppressWarnings("serial")
@Entity
public class EntityUser implements Serializable{
private int id = 0 ;
private String name = "" ;
private String password ;
private String comment ;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
@SuppressWarnings("serial")
@Entity
public class EntityUser implements Serializable{
private int id = 0 ;
private String name = "" ;
private String password ;
private String comment ;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询