'프로그램 사용 > struts2 tiles' 카테고리의 다른 글
struts2 페이지 포함하기 (0) | 2014.05.22 |
---|---|
스트럿츠 동적 레이아웃 구성하기 (0) | 2014.05.22 |
struts2 result type input (0) | 2014.05.19 |
struts2 result type (0) | 2014.05.17 |
struts2 / tiles 연동시 에러 (0) | 2014.05.16 |
struts2 페이지 포함하기 (0) | 2014.05.22 |
---|---|
스트럿츠 동적 레이아웃 구성하기 (0) | 2014.05.22 |
struts2 result type input (0) | 2014.05.19 |
struts2 result type (0) | 2014.05.17 |
struts2 / tiles 연동시 에러 (0) | 2014.05.16 |
ibatis 쿼리에 list 타입 인자로 넣기 (0) | 2014.05.28 |
---|---|
ibatis / mybatis 데이터가 비어있는 경우(null) (0) | 2014.05.23 |
ibatis namespace (2) | 2014.05.22 |
ibatis / log4j 를 이용한 sql문 덤프 (0) | 2014.05.21 |
ibatis - db framework (0) | 2014.05.14 |
DEBUG [http-8080-3] -Created connection 1249656.
DEBUG [http-8080-3] -{conn-100000} Connection
DEBUG [http-8080-3] -{conn-100000} Preparing Statement: SELECT * FROM SBOARD2 WHERE boardId = ? ORDER BY ref DESC, re_step ASC
DEBUG [http-8080-3] -{pstm-100001} Executing Statement: SELECT * FROM SBOARD2 WHERE boardId = ? ORDER BY ref DESC, re_step ASC
DEBUG [http-8080-3] -{pstm-100001} Parameters: [null]
DEBUG [http-8080-3] -{pstm-100001} Types: [null]
DEBUG [http-8080-3] -{rset-100002} ResultSet
DEBUG [http-8080-3] -Returned connection 1249656 to pool. |
# Global logging configuration
log4j.rootLogger=ERROR, stdout
# SqlMap logging configuration
log4j.logger.com.ibatis=DEBUG
log4j.logger.com.ibatis.common.jdbc.BasicDataSource=DEBUG
log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG
log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapClientDelegate=DEBUG
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
log4j.logger.java.sql.ResultSet=DEBUG
# Console output
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] -%m%n
|
ibatis 쿼리에 list 타입 인자로 넣기 (0) | 2014.05.28 |
---|---|
ibatis / mybatis 데이터가 비어있는 경우(null) (0) | 2014.05.23 |
ibatis namespace (2) | 2014.05.22 |
ibatis2 map (0) | 2014.05.21 |
ibatis - db framework (0) | 2014.05.14 |
VARCHAR2 and VARCHAR Datatypes
The VARCHAR2 datatype stores variable-length character strings. When you create a table with a VARCHAR2 column, you specify a maximum string length (in bytes or characters) between 1 and 4000 bytes for the VARCHAR2 column. For each row, Oracle stores each value in the column as a variable-length field unless a value exceeds the column's maximum length, in which case Oracle returns an error. Using VARCHAR2 and VARCHAR saves on space used by the table.
For example, assume you declare a column VARCHAR2 with a maximum size of 50 characters. In a single-byte character set, if only 10 characters are given for the VARCHAR2 column value in a particular row, the column in the row's row piece stores only the 10 characters (10 bytes), not 50.
Oracle compares VARCHAR2 values using nonpadded comparison semantics.
[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14220/datatype.htm]
NCHAR and NVARCHAR2 Datatypes
NCHAR and NVARCHAR2 are Unicode datatypes that store Unicode character data. The character set of NCHAR and NVARCHAR2 datatypes can only be either AL16UTF16 or UTF8 and is specified at database creation time as the national character set. AL16UTF16 and UTF8 are both Unicode encoding.
The NCHAR datatype stores fixed-length character strings that correspond to the national character set.
The NVARCHAR2 datatype stores variable length character strings.
When you create a table with an NCHAR or NVARCHAR2 column, the maximum size specified is always in character length semantics. Character length semantics is the default and only length semantics for NCHAR or NVARCHAR2.
For example, if national character set is UTF8, then the following statement defines the maximum byte length of 90 bytes:
CREATE TABLE tab1 (col1 NCHAR(30));
|
If you prefer to implement Unicode support incrementally, or if you need to support multilingual data only in certain columns, then you can store Unicode data in either the UTF-16 or UTF-8 encoding form in SQL NCHAR datatypes (NCHAR, NVARCHAR2, and NCLOB). The SQL NCHAR datatypes are called Unicode datatypes because they are used only for storing Unicode data. [링크 : http://docs.oracle.com/cd/B28359_01/server.111/b28298/ch6unicode.htm] |
sql distinct (0) | 2014.05.29 |
---|---|
oracle 대소문자 구분없이 검색하기 (0) | 2014.05.28 |
oracle view (0) | 2014.05.20 |
oracle alter (0) | 2014.05.20 |
oracle sequence 명령어 (0) | 2014.05.11 |
CREATE VIEW locations_view AS
SELECT d.department_id, d.department_name, l.location_id, l.city
FROM departments d, locations l
WHERE d.location_id = l.location_id;
SELECT column_name, updatable
FROM user_updatable_columns
WHERE table_name = 'LOCATIONS_VIEW';
[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8004.htm] |
Inline 뷰
인라인 뷰는 FROM 절에서 서브쿼리를 사용하여 생성한 임시 뷰이다. 인라인 뷰는 SQL 문이 실행되는 동안만 임시적으로 정의된다.
|
oracle 대소문자 구분없이 검색하기 (0) | 2014.05.28 |
---|---|
oracle 타입 - nvarchar2 varchar2 (0) | 2014.05.20 |
oracle alter (0) | 2014.05.20 |
oracle sequence 명령어 (0) | 2014.05.11 |
오라클 DDL 정리 (0) | 2014.05.11 |
alter table tablename add (colname type ..) // 항목 추가하기
alter table tablename drop column // 항목 삭제하기
alter table tablename modify (colname newtype ..) // 변수형 바꾸기
alter table tablename rename column oldname to newname // 항목명 바꾸기(9iR2 이후) |
oracle 타입 - nvarchar2 varchar2 (0) | 2014.05.20 |
---|---|
oracle view (0) | 2014.05.20 |
oracle sequence 명령어 (0) | 2014.05.11 |
오라클 DDL 정리 (0) | 2014.05.11 |
오라클 10g용 시작/종료 스크립트 (0) | 2014.04.11 |
스트럿츠 동적 레이아웃 구성하기 (0) | 2014.05.22 |
---|---|
struts2 action에 파라미터 넘기기 (0) | 2014.05.22 |
struts2 result type (0) | 2014.05.17 |
struts2 / tiles 연동시 에러 (0) | 2014.05.16 |
tiles xml 설정(상속) (0) | 2014.05.15 |
subversive의 단축키 모습. 그리고 아이콘도 촘촘히 존재한다.
리부팅시에 맞는 버전에 따라 (귀찮으니 그냥 JavaHL 32bit/64bit로 하면 됨) 설치한다.
google code + subclipse(eclipse / SVN) (0) | 2014.05.01 |
---|---|
eclipse JSP / SQL 지원관련 (0) | 2014.04.23 |
eclipse에서 javadoc(api)가 자동으로 뜨지 않을경우 (0) | 2014.04.02 |
eclipse + quantumDB plugin + jdbc driver (0) | 2014.04.01 |
ECJ - Eclipse Compiler for Java (0) | 2014.03.25 |
Chain Result | Used for Action Chaining |
Dispatcher Result | Used for web resource integration, including JSP integration |
FreeMarker Result | Used for FreeMarker integration |
HttpHeader Result | Used to control special HTTP behaviors |
Redirect Result | Used to redirect to another URL (web resource) |
Redirect Action Result | Used to redirect to another action mapping |
Stream Result | Used to stream an InputStream back to the browser (usually for file downloads) |
Velocity Result | Used for Velocity integration |
XSL Result | Used for XML/XSLT integration |
PlainText Result | Used to display the raw content of a particular page (i.e jsp, HTML) |
Tiles Result | Used to provide Tiles integration |
struts2 action에 파라미터 넘기기 (0) | 2014.05.22 |
---|---|
struts2 result type input (0) | 2014.05.19 |
struts2 / tiles 연동시 에러 (0) | 2014.05.16 |
tiles xml 설정(상속) (0) | 2014.05.15 |
struts2 .action 확장자 변경하기 (2) | 2014.05.14 |
심각: Exception starting filter struts2
Error building results for action indexAction in namespace - action - file:/D:/monk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/struts2_board/WEB-INF/classes/struts.xml:8:56
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="board" extends="struts-default, tiles-default">
<action name="indexAction" class="board.indexAction">
<result type="tiles">home</result>
</action>
</package>
</struts>
|
struts2 result type input (0) | 2014.05.19 |
---|---|
struts2 result type (0) | 2014.05.17 |
tiles xml 설정(상속) (0) | 2014.05.15 |
struts2 .action 확장자 변경하기 (2) | 2014.05.14 |
strtus2 레퍼런스 (0) | 2014.04.30 |