daily-story
mybatis sqlserver NVarcharTypeHandler 설정
프로그래밍 2024. 1. 4. 12:36

mssql 데이터 입력 시 varchar로 컬럼을 만들었더니 특수문자가 물음표로 표시되는 오류가 발생했다. 그래서 컬럼을 nvarchar로 변경하고 insert/update 시 nvarchar로 수정하려고 봤더니 그냥은 안 된단다. 우선 NVarchar 타입 핸들러를 만든다. package com.iems.config; import ch.qos.logback.classic.db.names.ColumnName; import org.apache.ibatis.type.BaseTypeHandler; import org.apache.ibatis.type.JdbcType; import org.apache.ibatis.type.MappedJdbcTypes; import org.slf4j.Logger; import o..

OSX 전자정부 프레임워크 설치하기
프로그래밍 2015. 3. 19. 23:18

Eclipse IDE for Java EE Developers Luna(4.4.2) 다운로드 http://dist.springframework.org/release/IDE - Spring IDE Core 설치 UML2 Extender SDK - http://wiki.eclipse.org/MDT/UML2/Getting_Started_with_UML 참고. http://download.eclipse.org/releases/luna/ - Subbersive SVN Team Provider 설치 http://community.polarion.com/projects/subversive/download/eclipse/4.0/update-site/ Subversive SVN Connectors 설치 SVNKit 1...

[java] @SuppressWarnings("")
프로그래밍 2013. 3. 27. 15:35

@SuppressWarnings 자바 어노테이션(Annotation)으로 컴파일러가 경고하는 내용 중에 제외시킬 내용을 설정할때 사용합니다. 언어 스펙은 이 중에서 두가지 비추천(deprecation)과 비확인(unchecked)만을 정의합니다. 몇가지 옵션을 줄수 있습니다. all : 모든 경고 제외 cast : 캐스트 연산자 관련 경고 제외 dep-ann : 사용하지 말아야 할 주석 관련 경고 제외 deprecation : 사용하지 말아야 할 메소드 관련 경고 제외 fallthrough : switch구문의 break문 누락 관련 경고 제외 finally : 반환하지 않는 finally블럭 관련 경고 제외 null : null블럭 관련 경고 제외 rawtypes : 제네럴을 사용하는 클래스가 불특정일..