728x90
int BUFFER_LENGTH = 1024;
Reader m_reader = null;
StringBuffer ebuf = new StringBuffer();
char[] m_buffer = null;
StringBuffer readedStr = null;
Reader m_reader = null;
StringBuffer ebuf = new StringBuffer();
char[] m_buffer = null;
StringBuffer readedStr = null;
m_reader = rs.getCharacterStream("CONTENT");
readedStr = new StringBuffer();
m_buffer = new char[BUFFER_LENGTH];
int readedIndex = 0;
if (null != m_reader) {
while ( (readedIndex = m_reader.read(m_buffer)) != -1) {
readedStr.append(m_buffer, 0, readedIndex);
}
}
m_buffer = null;
vo.setContent(readedStr.toString());
728x90
'WebLogic' 카테고리의 다른 글
java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence (0) | 2012.09.05 |
---|---|
웹로직 오라클 clob 업데이트 (0) | 2012.09.03 |
WEBLOGIC 비밀번호 (0) | 2012.07.29 |
TOMCAT java.lang.ClassCastException: oracle.sql.CLOB (0) | 2012.07.29 |
ORA-01000: 최대 열기 커서 수를 초과했습니다. (0) | 2012.07.29 |