일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
- JPA DB 다중 Connection
- AllArgsConstructor
- Vue
- spring repository
- spring JPA DB multi Connection
- spring @mapper
- docker 로그
- Spring JPA Specification
- vueslot
- JAVA Exception 종류
- doker logs tail
- spring mapper
- spring mapper annotation
- JPA DB Connection 다중
- JpaRepository update
- repository annotation
- vuecomponent
- spring JPA DB Connection
- CrudRepository update
- 도커 logs
- 도커 로그 확인
- NoArgsConstructor
- spring DB Connection
- Transactions Propagation Option
- mapper annotationo
- Spring
- Data Annotation
- 도커 컨테이너 로그
- @Builder @NoArgsConstructor
- 자바버그수정
- Today
- Total
목록분류 전체보기 (33)
개발을 잘하고 싶은 개발자
평소에 소스 꾸러미 git stash 보따리를 자주 사용하고 있다. 하지만 마구 사용하면 보따리에 나의 소스들이 계~속 쌓이기만 한다. git stash pop git stash apply git stash drop 위 3개의 차이를 최근에서야 알았다. 나는 평소에 pop만 사용했고, stash list는 가끔 소스트리에서만 확인했었지 정리는 안하고 있었다. 어느날 apply 명령어를 알게 되었고, 요즘은 chore한 코드는 apply를 많이 사용하고 있다.

여느 때처럼 복붙을 열심히 하다 중간중간 빌드해보지 않고 나를 너무 믿은 나머지 에러를 만났다. 에러 로그의 내용은 아래에 첨부했다. There is no READABLE property named 'meditype' in class java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java...
JPA를 사용하면서 까다로운 쿼리를 처리하는데 종종 어려움이 있다. 이 때 "Specification"의 도움을 받아 동적쿼리(Dynamic Query)로 처리할 수 있다 참고 페이지 https://spring.io/blog/2011/04/26/advanced-spring-data-jpa-specifications-and-querydsl/ https://dahye-jeong.gitbook.io/spring/spring/2020-04-12-jpa-specification JpaSpecificationExecutor을 extends 해준다. Specification을 입력 받도록 Repository 인터페이스 정의하기 public interface PostRepository extends JpaReposit..