일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Data Annotation
- spring repository
- 도커 logs
- docker 로그
- spring JPA DB multi Connection
- Vue
- JAVA Exception 종류
- Transactions Propagation Option
- spring DB Connection
- doker logs tail
- vueslot
- AllArgsConstructor
- 자바버그수정
- spring mapper
- spring mapper annotation
- JPA DB 다중 Connection
- 도커 로그 확인
- JpaRepository update
- @Builder @NoArgsConstructor
- 도커 컨테이너 로그
- repository annotation
- mapper annotationo
- CrudRepository update
- spring @mapper
- Spring JPA Specification
- spring JPA DB Connection
- JPA DB Connection 다중
- NoArgsConstructor
- vuecomponent
- Today
- Total
목록분류 전체보기 (33)
개발을 잘하고 싶은 개발자
spring에서 쓰는 어노테이션의 종류는 매우 많다 오늘은 우선 '@Repository' https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/stereotype/Repository.html Repository (Spring Framework 5.3.9 API) Indicates that an annotated class is a "Repository", originally defined by Domain-Driven Design (Evans, 2003) as "a mechanism for encapsulating storage, retrieval, and search behavior which emulat..
리눅스 서버에서 log 파일을 vi, tail, cat 등등 명령어로 볼 줄은 알았지만 도커에 따로 docker logs가 있는 줄 몰랐다!! 나도 이제 도커 로그를 맘대로 다룰 줄 알게 되었어~ document https://docs.docker.com/engine/reference/commandline/logs/ docker logs docker logs: The `docker logs` command batch-retrieves logs present at the time of execution. > **Note** > > This command is only functional for containers that are started with the... docs.docker.com 사용법 $ d..
한 개의 DB Connection만을 사용하던 "나의 Config"에서 다른 DB Connection을 붙여야 하는 미션이 주어졌다. 기존 소스는 아래와 같다. import org.apache.ibatis.session.SqlSessionFactory; import org.mybatis.spring.SqlSessionFactoryBean; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.jdbc.DataSourceBuilder; import org.springframework..
JpaRepository를 사용하면서 findAllById, save, saveAndFlush 등등 편리하게 사용해오다가 수정 Update 업데이트 기능을 개발할 일이 있어 검색해 보았다. 나는 update(S entity) 라는 메서드를 지원해주지 않을까 라는 기대감에 u.. p... 까지 타이핑도 해보았지만 없.었.다. save()를 사용해야 한다는 걸 알고 UserDto id name birth UserDto user = new UserDto(); user.setId("153"); user.setName("sofia"); UserDto save(UserDto user); 이렇게 사용했다가 birth가 날아갔다ㅠ birth에 값을 넣어주지 않았다고 birth를 null로 update 한 것이다... ..