* 개요 이클립스에서는 잘 되던 getClass().getResourceAsStream() 구문이 jar 로 하면 null 반환하여 오류 유발하는 현상 * 원인 여기서 사용하는 경로는 class path 다. 그전에 src 내의 경로를 사용하고 있었다면 ( ./abc.txt ) jar 로 export 후의 경로랑은 달라진다. * 해결 1. 경로를 "현재 Java 파일 패키지 경로/abc.txt" 로 바꿔주면 된다. src 같은 경로는 제외한 class path EX : /com/myprj/module/abc.txt - 하지만 이렇게 가져온 InputStream 은 다음 오류를 반환했다. java.io.IOException: mark/reset not supported 2. 따라서 이 문제까지 해결 위해서..
* 개요 Numeric 로 선언한 max_length 란 컬럼이 있다 (자바 Integer 선언) update 시 null 을 대입하면 다음 오류 발생 Caused by: org.postgresql.util.PSQLException: ERROR: column "max_length" is of type numeric but expression is of type character varying Hint: You will need to rewrite or cast the expression. 로그에 찍히는 UPDATE ... SET max_length = NULL 은 정상동작하는 쿼리인데도 오류 * 원인 mybatis 의 파라메터 대입하는 메서드 내부에서 Integer 가 아닌 int 를 사용하면서 null..