1026baby
@vanilla369
Reviews Written
1
Average Rating
5.0
Posts
Q&A
querydsl Embeddable ์์ Embeddable ์กฐ๊ฑด์๋จ
QueryInit("*.*") ์ ์ฉ์ ๊ณ ๋ คํด๋ณด์๊ธธ ๋ฐ๋๋๋ค.https://querydsl.com/static/querydsl/2.1.2/apidocs/com/mysema/query/annotations/QueryInit.html By default Querydsl initializes only reference properties of the first two levels. In cases where longer initialization paths are required, these have to be annotated in the domain types via com.querydsl.core.annotations.QueryInit annotations. QueryInit is used on properties where deep initializations are needed. The following example demonstrates the usage.@Entity class Event { @QueryInit("customer.address") Account account; } @Entity class Account { Customer customer; } @Entity class Customer { String name; Address address; // ... }This example enforces the initialization of the account.customer path, when an Event path is initialized as a root path / variable. The path initialization format supports wildcards as well, e.g. "customer.*" or just "*".
- 0
- 2
- 503
Q&A
@Transactional์ ๋ถ์์ ๋"๋ง" Stock ๊ฐ์ ๊ฒ์ฆ์ ์ฑ๊ณตํฉ๋๋ค
์์ด๊ณ ,,,์ด๋ฐ,,,์๋น์ค์ @Transactional์ ์ ๋ถ์๋ค์,,,๋ถ๋๋ฝ๋ค์ ํํ,,@Transactional์ ๋ํด ๋ ์์ธํ๊ฒ ๊ณต๋ถํด๋ณด๊ฒ ์ต๋๋ค!! // ํน์ ์ ์ ๊ฐ์ ์ค์ ํ์๋ ๋ถ ๊ณ์ค๊น๋ด ๊ฒ์๋ฌผ์ ๋จ๊ฒจ๋๊ฒ ์ต๋๋ค!
- 1
- 2
- 613
Q&A
Cannot resolve symbol 'EntityModel' (+ RepresentationModel)
https://docs.spring.io/spring-hateoas/docs/current/reference/html/์ ๋ ํผ๋ฐ์ค๋ฅผ ์ฐพ์๋ณด๋ HATEOAS์ ๋ํ ๋ชจ๋ธ์ ์ ์ํ๊ณ ์ํ ๋๋ HATEOAS์ ์ต์์ ํด๋์ค์ธ RepresentationModel ์ ์์๋ฐ๊ธฐ๋ฅผ ๊ถ์ฅํ๋ฉฐ, EntityModel์ ๋จ์ํ ํ๋์ ๊ฐ์ฒด๋ก ๋ฐํํ ๋ ์ฌ์ฉํ๋ผ๊ณ ๋์์์ต๋๋ค.์๋ ๋ธ๋ก๊ทธ๋ ์ฐพ์๋ณด์๋ฉด ์ข์ ๊ฒ ๊ฐ๋ค์https://halfstorage.tistory.com/60
- 0
- 3
- 700
Q&A
Cannot resolve symbol 'EntityModel' (+ RepresentationModel)
@์ธํ๋ฐ AI ์ธํด๊ฐ์ฌํฉ๋๋ค. build.gradle๋ค์ ํ์ธํด๋ณด๋ ์ ๋๋ก ํ ์ ์์์ต๋๋ค.๋ค๋ง ์ต๊ทผ EntityModel์ ๋ํ ํ์ค์ด ๋ฐ๋ ๊ฒ ๊ฐ์ ์๋ ๊ฐ์ฌ๋์ ๋ต๋ณ์ ์ฐธ๊ณ ํ์๋ฉด ์ข์ ๊ฒ ๊ฐ์ต๋๋ค.https://www.inflearn.com/questions/203512/entitymodel-deprecated-%EC%96%B4%EB%96%BB%EA%B2%8C-%EB%B0%94%EA%BE%B8%EB%A9%B4-%EB%90%A0%EA%B9%8C%EC%9A%94
- 0
- 3
- 700




