일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- spring JPA DB multi Connection
- JPA DB 다중 Connection
- AllArgsConstructor
- JPA DB Connection 다중
- @Builder @NoArgsConstructor
- vuecomponent
- spring repository
- spring mapper annotation
- Data Annotation
- 도커 컨테이너 로그
- spring @mapper
- spring JPA DB Connection
- Vue
- docker 로그
- Transactions Propagation Option
- NoArgsConstructor
- doker logs tail
- JpaRepository update
- 도커 로그 확인
- 도커 logs
- repository annotation
- mapper annotationo
- 자바버그수정
- vueslot
- spring mapper
- Spring JPA Specification
- JAVA Exception 종류
- Spring
- spring DB Connection
- CrudRepository update
- Today
- Total
목록Backend (19)
개발을 잘하고 싶은 개발자

여느 때처럼 복붙을 열심히 하다 중간중간 빌드해보지 않고 나를 너무 믿은 나머지 에러를 만났다. 에러 로그의 내용은 아래에 첨부했다. 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...
출처 https://www.baeldung.com/transaction-configuration-with-jpa-and-spring https://taetaetae.github.io/2016/10/08/20161008/ propagation ( 전파옵션) REQUIRED : 부모 트랜잭션 내에서 실행하며 부모 트랜잭션이 없을 경우 새로운 트랜잭션을 생성 REQUIRES_NEW : 부모 트랜잭션을 무시하고 무조건 새로운 트랜잭션이 생성 SUPPORT : 부모 트랜잭션 내에서 실행하며 부모 트랜잭션이 없을 경우 nontransactionally로 실행 MANDATORY : 부모 트랜잭션 내에서 실행되며 부모 트랜잭션이 없을 경우 예외가 발생 NOT_SUPPORT : nontransactionally로 실행하..
참고 https://projectlombok.org/features/Builder https://projectlombok.org/features/constructor @Builder와 @NoArgsConstructor를 같이 사용하면 @Data @Builder @NoArgsConstructor @Entity @Table(name = "TEST") public class test { @Id private long seq; private String n1; private String n2; } 이렇게 사용하면 아래와 같은 오류를 출력한다 error: constructor OrderUpload in class OrderUpload cannot be applied to given types; @Builder ^..
표준 예외를 알아보자 출처 : Clean Code 예외 경우 IIlegalArgumentException Null 이 아닌인자의 값이 잘못되었을 때 IIlegalSateException 객체 상태가 메서드 호출을 처리하기에 적절치 않을 때 NullPointException null 값을 받으면 안 되는 인자에 null이 전달되었을 때 IndexOutOfBoundsException 인자로 주어진 첨자가 허용 범위를벗어났을때 ConcurrentModicationException 병렬 사용이 금지된 객체에대한 병렬 접근이 탐지되었을 때 UnsupportedOperationException 객체가 해당 메서드를 지원하지 않을 때 ... .... 등등 매우 많다... 하지만 경우에 따라 표준 예외를 출력해 사용할..