분류 전체보기
-
한국무역협회 무역아카데미 Smart Cloud IT마스터 과정 32기 모집카테고리 없음 2016. 5. 29. 18:40
한국무역협회 무역아카데미에서 주관하는 Smart Cloud IT(SCIT)마스터 과정 32기를 모집합니다! 일본에서 취업할 수 있는 기회입니다~ 지원하실 분들은 아래 링크를 참조해주세요~ SCIT마스터 과정 지원하기 및 자세한 사항 아래 사이트 참고 http://tradecampus.kita.net/front/SubjSeqF.do?cmd=compSubjSeqMain&p_trainingclass=04&next=compSubjSeqApplyMain&p_isapply=Y&p_contentid=06&p_outmenuid=47
-
JDBC 시작JDBC 2016. 5. 18. 12:25
oracle Database에 연결하기 위한 자바코드 먼저 JDK에 ojdbc 파일을 추가해줘야 한다. oracle 이 설치된 oraclexe\app\oracle\product\11.2.0\server\jdbc\lib 경로로 들어가 ojdbc 파일을 환경변수의 경로로 설정된 jre의 위치에 추가한다. C:\Program Files\Java\jdk1.8.0_45\jre\lib\ext 의 경로에 넣어준다. jdk가 없다면 jre\lib\ext 하위에 추가해줘도 된다. 드라이버를 로딩하는 문장은 private String driver = "oracle.jdbc.driver.OracleDriver"; // oracle.jdbc.driver 패키지 의 OracleDriver Class.forName(driver)..
-
oracle jdbc url 설정JDBC 2016. 5. 10. 08:31
oracle DB를 이용하여 데이터베이스를 사용할 때 jdbc의 url은 jdbc:oracle:thin:@hostname:port:SID 와 같은 순으로 설정해야 한다. url은 실제 데이터베이스 파일의 위치를 지정해 주는 역할을 한다. hostname 은 oracle DB가 설치된 컴퓨터의 IP port는 포트 번호로 일반적인 방식으로 설치했을 때 1521이 기본이다. SID는 오라클 서버 전역 데이터 베이스의 이름으로 XE, ORCL 이 있다. 오라클 익스프레스 버전은 XE 이다. 포트번호와 전역 데이터 베이스의 이름을 모르는 경우 oracle DB가 설치된 위치에서 확인한다. oraclexe\app\oracle\product\11.2.0\server\network\ADMIN 대략적인 경로는 위와 같..
-
3-2 WHERE절을 이용한 조건검색Oracle DB 2016. 5. 3. 17:39
- LIKE 연산자와 와일드카드 LIKE 연산자는 칼럼에 저장된 문자 상수 중에서 LIKE 연산자에서 지정한 문자 패턴과 부분적으로 일치하면 참이 되는 연산자이다. LIKE 연산자는 pattern을 기술한다. pattern에는 두가지 와일드 카드가 사용된다. 와일드카드 의미 % 문자가 없거나 하나 이상의 문자가 와도 상관 X _ 하나의 문자로 어떤 값이 와도 상관 X 예를 들어 설명해보면 V로 시작하는 이름을 가진 사람을 검색해보자. WHERE 절에서 'V%' 는 first_name 컬럼의 데이터들 중 V로 시작하지만 뒤의 길이는 몇개가 와도 상관이 없다는 의미다. 만약 V, Vi, Via, Viee 등의 길이가 다른 데이터가 있더라도 V로 시작하기만 하면 되기 때문에 아무 상관이 없다. %는 0~n개 ..