일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Spring Boot
- STS
- 문서
- AJAX
- Thymeleaf
- SpringBoot
- IntelliJ
- JavaScript
- git
- MySQL
- maven
- Docker
- oracle
- myBatis
- MSSQL
- spring
- Open Source
- Core Java
- error
- Eclipse
- Exception
- Python
- PostgreSQL
- 설정
- JDBC
- ubuntu
- Tomcat
- Source
- jpa
- 오픈소스
- Today
- Total
목록Source (24)
헤르메스 LIFE
package common.util; import util.CommonProperties; import java.io.UnsupportedEncodingException; import java.util.Date; import java.util.List; import java.util.Properties; import javax.activation.DataHandler; import javax.activation.FileDataSource; import javax.mail.Address; import javax.mail.Authenticator; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Multipa..
package common.util; import java.io.UnsupportedEncodingException; import java.util.Date; import java.util.HashMap; import java.util.Properties; import javax.mail.Address; import javax.mail.Authenticator; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.SendFailedException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.i..
홈피 : http://www.stunicholls.com/ jQuery등의 예제가 많습니다.
String strSplit = "2010|10"; String yy = strSplit.split("\\|")[0]; String mm = strSplit.split("\\|")[1];
iBatis-2.3.4.726 버젼의 수정입니다. 1. com.ibatis.common.jdbc.logging.LoggableStatement 파일 생성 package com.ibatis.common.jdbc.logging; import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; @SuppressWarnings("unchecked") public class LoggableStatement { public LoggableStatement(String sql, List params) throws Exception { sqlTemplate = sql; parameterValues = new ArrayList(); ..
IBatis 2.3.4.726버젼을 빌드하기 위해서 IBatis Source폴더 내에 JAR File Dependencies 파일을 참고 하였습니다. iBATIS 2.0 requires JDK 1.4 란 내용은 2.0버전은 JDK 1.4 버젼에서 빌드된다라는 얘기이고, iBATIS 2.3 버젼은 JDK 1.5 에서 컴파일 됩니다.
public class SortString { /** * Double 형 배열 정열 * @param nums 정열될 배열 * @return double[] 정열된 배열 */ static double[] sortDouble(double[] nums) { for(int i = 0; i < nums.length; i++) { int min = i; for(int j = i; j < nums.length; j++) { if (nums[j] < nums[min]) min = j; } double tmp; tmp = nums[i]; nums[i] = nums[min]; nums[min] = tmp; } return nums; } /** * String 형 배열 정열 * @param nums 정열될 배열 * @ret..
/** * 현재 oracle 7 버전대는 unicode 1.2를 사용하고, * oracle 8.1.5 버전부터 unicode 2.0을 사용합니다. * 그리고 jdk1.2버전은 unicode 2.0을 사용하지요 * 그래서 oracle 8.1.5에서 읽어들인 한글은 보이지만, * 7버전에서 읽어들인 한글은 unicode 버전차이로 ?표로 표시됩니다. * 때문에 oracle 7버전에서 한글을 지원받으려면 * DB에서 read할때는 unicode 1.2를 2.0으로, DB로 write할때는 unicode 2.0을 1.2로 * conversion 해주는 class를 만들어서 import하여 사용하면 됩니다. * * UniCode 1.2 을 UniCode 2.0 로 변환 * @param uni12 변환할 문자 (U..
/** * 현재 oracle 7 버전대는 unicode 1.2를 사용하고, * oracle 8.1.5 버전부터 unicode 2.0을 사용합니다. * 그리고 jdk1.2버전은 unicode 2.0을 사용하지요 * 그래서 oracle 8.1.5에서 읽어들인 한글은 보이지만, * 7버전에서 읽어들인 한글은 unicode 버전차이로 ?표로 표시됩니다. * 때문에 oracle 7버전에서 한글을 지원받으려면 * DB에서 read할때는 unicode 1.2를 2.0으로, DB로 write할때는 unicode 2.0을 1.2로 * conversion 해주는 class를 만들어서 import하여 사용하면 됩니다. * * UniCode 2.0 을 UniCode 1.2 로 변환 * @param uni20 변환할 문자 (U..
/** * Character Set를 ISO-8859-1로 컨버전 * @param str 변환할 문자 * @return String 변환문자 */ public String convISO(String str) { String tmp = new String(""); if(str==null||str.length()==0) return ""; try { tmp = new String(str.getBytes("EUC-KR"), "ISO-8859-1"); } catch (UnsupportedEncodingException uee) { log(CLASS_NAME + ".convISO()","Character Set변환을 실패했습니다."+uee.toString()); } catch (Exception e) { log(..