摘要: 解释@Component @Controller @Service @Repository JPA常用注解 @Entity 作用:设置一个类为实体类 Java代码 @Entity public class User { } @Table 作用:设置实体类对应的表,常与@Entity一起使用参数:na 阅读全文
posted @ 2016-03-09 08:04 ziranxixi 阅读(241) 评论(0) 推荐(0) 编辑