El

· Mybatis
어제 해보았던 실습을 똑같이 따라해봤다. (pom.xml세팅까지 다 끝냈다고 치고) 1. propertise 파일, config.xml이 필요 2. config.xml에 사용할 typeAlias(객체) 세팅, 사용할 Mapper.xml 세팅(sql명령어) select SYSDATE from dual select (#{num1} + #{num2}) * #{num3} from dual 4가지 메서드를 만들었다.(testVO) 1) 오늘의 날짜 2) 계산 3) 오늘의날짜, 계산, 문자열 출력 4) 오늘의날짜, 계산, 문자열 출력(매개변수가 다르다) 3. String resource = "mybatis-config.xml"; InputStream inputStream = Resources.getResourceA..
알아가자
'El' 태그의 글 목록