Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 알고리즘
- db
- Proxy
- kotlin
- 인프런
- QueryDSL
- Servlet
- spring
- pointcut
- java
- 스프링 핵심 기능
- 스프링
- jpa
- transaction
- Greedy
- Spring Boot
- JDBC
- JPQL
- 백준
- 자바
- SpringBoot
- http
- Android
- AOP
- 그리디
- 김영한
- Thymeleaf
- 스프링 핵심 원리
- Exception
- springdatajpa
Archives
- Today
- Total
목록SQL Function 호출 (1)
개발자되기 프로젝트
SQL Function 호출
1. SQL Function 호출 SQL Function은 JPA와 같이 Dialect에 등록된 내용만 호출이 가능함. 2. member를 M으로 변경하는 replace 함수 사용 @Test public void sqlFunction(){ List result = queryFactory .select(Expressions.stringTemplate( "function('replace', {0}, {1}, {2})", member.username, "member", "M")) .from(member) .fetch(); for (String s : result) { System.out.println("s = " + s); } } select function('replace', member1.username,..
인프런/[인프런] QueryDsl
2021. 9. 4. 00:25