일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- IntelliJ
- Quartz
- resource
- vscode
- profile
- import
- web.xml
- ssh
- VirtualBox
- context
- 줄바꿈 문자
- 단축키
- Mac
- lsof
- 네트워크
- bash
- GIT
- Source
- grep
- Windows 10
- find
- Windows
- netsh
- maVen
- Eclipse
- xargs
- JavaScript
- plugin
- port
- tomcat
- Today
- Total
목록Dev/Java (163)
develog
Java----------------------------------------------------------------public void testProc(SqlSession session) throws SQLException { HashMap param = new HashMap(); param.put("param1", "aa"); param.put("param2", "cc"); param.put("resultCd", ""); param.put("resultMsg", ""); session.selectOne("UserStatOld.testProc", param); System.out.println("resultCd : " + param.get("resultCd")); System.out.println..
Java----------------------------------------------------------------public void testProc(SqlSession session) throws SQLException { ProcVo vo = new ProcVo(); vo.setParam1("11"); vo.setParam2("bb"); session.update("UserStatOld.testProc", vo); System.out.println("resultCd : " + vo.getResultCd()); System.out.println("resultMsg : " + vo.getResultMsg());} Vo--------------------------------------------..
● ibatisSELECT * FROM TB_TEMP WHERE 1=1AND USER_ID = #USER_ID# ● mybatisSELECT * FROM TB_TEMP WHERE 1=1AND USER_ID = #{USER_ID}
DEBUG > INFO > WARN > ERROR > FATAL 설정 출력 내용 DEBUG DEBUG, INFO, WARN, ERROR, FATAL INFO INFO, WARN, ERROR, FATAL WARN WARN, ERROR, FATAL ERROR ERROR, FATAL FATAL FATAL
● jar 다운로드- http://www.mybatis.org/ 접속- 상단메뉴 중 java 클릭- mybatis persistence framework 아래 Download the Persistence Framework 클릭- mybatis-3.1.1-bundle.zip 다운로드
JDBC Basic1. Establishing a connection2. Create a statement3. Execute the query4. Process the ResultSet object5. Close the connection Statement : no parameterPreparedStatement : parameterCallableStatement : input, output parameter execute : one or more ResultSetexecuteQuery : one ResultSetexecuteUpdate : INSERT, UPDATE, DELETE DriverManagerDataSource