JPA
福归
这个作者很懒,什么都没留下…
展开
-
SpEL support in Spring Data JPA @Query definitions
https://spring.io/blog/2014/07/15/spel-support-in-spring-data-jpa-query-definitionsSpring Data JPA allows manually defining the query to be executed by a repository method using the @Query ann转载 2017-07-12 09:37:13 · 1226 阅读 · 0 评论 -
JPA主键生成策略
@GeneratedValue ID生成策略(JPA )一、JPA通用策略生成器 通过annotation来映射hibernate实体的,基于annotation的hibernate主键标识为@Id, 其生成规则由@GeneratedValue设定的.这里的@id和@GeneratedValue都是JPA的标准用法, JPA提供四种标准用法,由@GeneratedV转载 2017-09-15 14:17:20 · 6454 阅读 · 0 评论