언어

    [DB] 시노님

    1. 시노님 (동의어) : 사용자가 다른사용자의 테이블을 사용할수 있도록 연결*추가설명 내계정에서 다른계정의 특정 테이블을 내계정으로 볼때 사용.* 시노님 생성create synoym emp For scott.empex) select * from scott.emp; // scott계정에 있는 emp 테이블 뷰 ABC - > A.tableEDF -> To1.table ABC 사용자가 EDF사용자의 테이블을 접근할때select * from edf.to1를select * from to1

    20140711 Exception

    1. Exception 업무 Exception : 업무적인 오류. 탈퇴고객 로그인 등System Exception : 시스템 오류, 시스템에서 나오는 오류 IBatis 에서는 Req, Res, Commit 과 rollback 이 자동화.*EJB 직접하는경우 -> commit,rollBack 해야함 . 관리 x 20140714 추가 Exception -> Throwtry {abc();}catch (Exception ex){e.printstace();} abc() throws Exception {try{throw new Exception();}catch(Exception e ){throw exception ;} 부른 메소드에서 throw 날려서 상위메소드에서 exceptionl;throws : 상위클래스 e..

    20141230 DB

    select a.*,b.*from( select 10 as ordno from dual union all select 20 as ordno from dual union all select 30 as ordno from dual ) a,( select a.ordno,a.seq, (case a.seq when ( select min(b.seq) from ( select 10 as ordno, 2 as seq, 1000 as price from dual union all select 10 as ordno, 5 as seq, 3000 as price from dual union all select 10 as ordno, 3 as seq, 2000 as price from dual )b ) then a.price..

    20140707 파일다운로드취약점 패턴

    1. 파일다운로드 취약점 패턴 CheckFile = "png, gif, jpg, jpeg ";fileExtension = req.getString("파일명");if(checkFile.lastindexof(filecheck

    20140602

    [메이븐]- 빌드 / 배포관리,- 레파지토리 관리.- 자르파일 관리, POJO : Plan Old Java Object (단순자바객체)

    20140530 [SQL]

    [SQL] 트리거 : 이벤트 감지, 함수나 프로시저를 실행시켜줌.프로시저 : 반복적인 작업이나 SQL, PLSQL 실행(Function 에 큰의미)*PLSQL = sql + 로직트래젝션 : 일을 한번에 묶어두는것 (일처리 단위)롤백과 커밋이 단조러워짐 뷰 : 필요한 부분만 따로 때네서 볼수 있음