본문 바로가기

ibatis5

[ibatis] Element type "SELECT" must be declared. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'egov.sqlMapClient' defined in file [D:\eGovFrameDev-3.6.0-64bit_test\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\hrmAgri\WEB-INF\classes\egovframework\spring\com\context-sqlMap.xml]: Invocation of init method failed; nested exception is org.springframework.core... 2023. 9. 25.
[eGovFrame] iBatis, Mybatis 특수문자처리 iBatis, Mybatis에서 사용하지 못하는 특수문자를 문자화하여 사용할 수 있게 한다. xml에서 처리하지 못하는 문자(&,',",,%...) 쿼리 작성시 안에 넣으면 해결할 수 있다. 단 #,$기호는 위처럼 해도 되질 않는다. 특수문자를 문자화 하는 방식이라고 정의할 수 있다. 2023. 9. 4.
[iBATIS] iBATIS SQL Maps 개발자 가이드 출처https://ibatis.apache.org/docs/java/pdf/iBATIS-SqlMaps-2_ko.pdf 2018. 8. 31.
[Java] ibatis배열 private String[] achList; public String[] getAchList() { return achList; } public void setAchList(String[] AchList) { this.achList = achList; } #achList[]# 2017. 1. 12.
[DB] ibatis iterate 사용, 배열처리 --출처 http://javafactory.tistory.com/entry/ibatis-iterate-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0 ibatis에서 iterate를 사용해보자. 반복문을 쓰는거다. select를 10000번 포문 돌면서 하는게 빠른지 select 문에서 조건저을 iterate를 사용해서 길게 적고 한번 쿼리하는게 빠른지 비교해보기 위해서 진행하였다. 이건 ArrayList을 던졌을 때12345678 SELECT id, register, name, location, year, sex, mobile, state, timeupdate, isregister FROM profile_register WHERE id = #[]# Colored by Color Scr.. 2016. 9. 14.