본문 바로가기 메뉴 바로가기

MLog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

MLog

검색하기 폼
  • All (99)
    • Linux (17)
      • Tomcat (1)
      • Ubuntu (7)
    • Java (13)
      • Swing (7)
      • Android (3)
      • Eclipse (5)
      • Spring (3)
      • POI (12)
    • Web (5)
      • Java Script (2)
      • CSS (0)
      • PHP (0)
      • HTML (2)
      • JSP (1)
    • Database (13)
      • MySQL (13)
    • Others (9)
    • Sales (0)
    • AVR (1)
    • Windows (7)
      • VBA 매크로 (2)
      • Excel (4)
    • 짤 (0)
    • 기기 (3)
  • 방명록

Java/Spring (3)
MyBatis에서 insert 후 키 값 가져오기

1. useGeneratedKeys="true" 2. keyProperty="변수명" 3. keyColumn="Sql컬럼명" Ex1) 마이바티스 INSERT INTO table ( AAA ) VALUES ( #{AAA} ) Ex2) 자바 Map map = new HashMap(); map.put("AAA", "데이타"); dao.insertData(map); String key = map.get("keyNum").toString();

Java/Spring 2021. 8. 10. 16:38
The background cache eviction process was unable to free [10] percent of the cache for Context [] - consider increasing the maximum size of the cache. After eviction approximately [9,630] KB of data remained in the cache. 오류시.

The background cache eviction process was unable to free [10] percent of the cache for Context [] - consider increasing the maximum size of the cache. After eviction approximately [9,630] KB of data remained in the cache.context.xml에 추가

Java/Spring 2016. 10. 5. 13:23
자바 스프링 기반 메일 보내기.

1. 필요 라이브러리 추가 2. 빈 추가 true 3. 메일 클래스 선언 package com.ilshin.domain; import java.io.Serializable; import java.util.Date; public class SendMail implements Serializable { private String sender; private String receiver; private String subject; private String content; public String getSender() { return sender; } public void setSender(String sender) { this.sender = sender; } public String getReceiver(..

Java/Spring 2016. 5. 29. 22:56
이전 1 다음
이전 다음

Blog is powered by Tistory / Designed by Tistory

티스토리툴바