-
参考:http://www.cnblogs.com/holbrook/archive/2012/12/30/2839842.html
## 5. Query Language 查询语言
JPA提供两种查询方式,一种是根据主键查询,使用EntityManager的find方法:
`T find(Class entityClass, Object primaryKey)`
另一种就…
-
### spring.jpa 관련 프로퍼티
* `spring.jpa.database` : 타겟 데이터베이스로 코드에선 `Enum`을 관리된다. 디폴트는 자동으로 감지된다.
* `spring.jpa.database-platform` : 타겟 데이터베이스 이름, `spring.jpa.database`는 Enum으로 관리되기 때문에 Enum에 원하는 값…
-
- JPA
- JDBC, Spring JDBC
- Sql Mapper(MyBatis), ORM
- @Transactional
- JPA, Hibernate
- 영속성 컨텍스트
- 즉시/지연 로딩
- 프록시
-
-
BlazePaginationRepository:
```
public PagedList findTopN(Specification specification,
Sort sortBy,
int pageSize,
…
-
I am getting the following error when I add a sort query:
`java.lang.NoClassDefFoundError: Could not initialize class io.github.perplexhub.rsql.jsonb.JsonbSupport`. If I remove the sort query, the fi…
-
1. Project Structure 수정하는 방법
https://jong-bae.tistory.com/43
2. Generated root 변경 방법
https://developer-jinnie.tistory.com/21
-
#2294 introduced the Fluent API. However, scheduling issues prevented us from implementing class-based DTOs.
As part of that development effort, the following chunk of code from `FetchableFluentQue…
-
As title, it's work well with spring data neo4j alone, but fail with spring data jpa.
````
java.lang.NullPointerException: Cannot invoke "org.springframework.transaction.support.TransactionTemplat…
-
### Description
I am trying to deserialize json with snake case json properties to entity views with lower camel case properties. I have tried to add the strategy to both the jackson object m…