A different object with the same identifier value was already associated with the session by 이상구
- 하나의 세션(런타임) 동안 동일한 PK 의 엔터티가 두개 이상 존재할 때 발생한다
- 일반적으로는 동일한 PK 의 엔터티를 2회 이상 조회해도 a == b 가 되어 문제되지 않지만
- 하지만 그렇게 하지 못할 경우 간단한 방법은 아래와 같이 compareTo() 를 구현해 주는 것이다
이미지에서 텍스트 영역을 찾아주는 OpenCV Python의 MSER 예제 by 이정주 about Python
- r1_end = (x+w
- r2_end = (x+w
- margin = 10
Spring boot & Redis Cache 서버 구축하기 by 이창섭 about Redis,Spring,Cache
- boot:spring-boot-starter-data-redis' implementation 'org
- boot:spring-boot-starter-web' implementation 'org
- Duration; @Configuration public class CacheConfig { @Autowired ObjectMapper objectMapper; @Autowired //아까 등록해뒀던 캐쉬팩토리 RedisConnectionFactory connectionFactory; @Bean public CacheManager cacheManager(){ RedisCacheConfiguration redisConfiguration = RedisCacheConfiguration