로딩
요청 처리 중입니다...

ibatis 2개의 parameterType 이 필요할 때

 ibatis 2개의 parameterType 이 필요할 때

쿼리 조건문이 2개 일 때 하나의 Type이면 상관없지만, 1 2 String ipAddr = "192.168.123.123"; int vlanId = "65536"; 아래처럼 String과 int 두개의 조건으로 서로 다른 타입의 parameter를 넘길 때는 Vo가 필요하다. 1 2 3 4 5 > 2개의 parameterType을 위한 vo를 지정 1 2 3 4 5
[CDATA[ select hostname from Ip where ipAddr = #{vo.ipAddr) and vlanId = #{vo...