본문 바로가기

Spring

Spring Boot / Cloud Vision API / IMEI IMEI / EDI 이미지에서 읽어오기 테스트용. Spring Boot 3.2, Kotlin 1.9 https://github.com/KimHyeongi/spring-boot-edu 더보기
build OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 로그 테스트 처리 build.gradle.kts tasks.withType().configureEach { useJUnitPlatform() jvmArgs( "-Xshare:off", ) maxParallelForks = 1 } 참고 https://stackoverflow.com/questions/54205486/how-to-avoid-sharing-is-only-supported-for-boot-loader-classes-because-bootstra 더보기
Spring annotations http://code.google.com/p/ehcache-spring-annotations/ applicationContext.xml ... xmlns:ehcache="http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring" xsi:schemaLocation="http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring/ehcache-spring-1.1.xsd" ... net.sf.ehcache ehcache-core 2.. 더보기
Spring + Ibatis 2.3 Session버그 기존 ibatis 를 사용하고 있는 곳에 Spring을 조금씩 넣다 보니 이상하게 cache가 안 먹히는듯한 현상이 있어서 이래저래 찾아보니... bug더군요. spring + ibatis2.3 에서는 무조건 새로운 session을 호출한다는... 그러다 보니 cacheModel을 적용해도 안먹히는 현상입니다. SqlExecutor.java 의 prepareStatement(..)을 debug해보면 알 수 있습니다. https://issues.apache.org/jira/browse/IBATIS-408 뭐. 어짜피 ehcache등으로 메소드를 cache 시키겠지만 기존 App 성능이.. 두개의 Connection 이나 method 캐쉬정책을 좀 세워야 할듯. 더보기