JeongKeepsCalm
Home
JeongKeepsCalm
Cancel

JDBC Template

read file and execute query using JDBC template public class test { // DataSource - DB 정보를 담는다. public DataSource dataSource() { BasicDataSource dataSource = new BasicDataSource(); d...

MySQL from Udemy

Database SHOW DATABASES; CREATE DATABASE <database name> DROP DATABASE <database name> USE <database name> -- 사용할 데이터베이스를 지정한다. SELECT <database name> -- 현재 사용중인 데이터베이스명을 ...

[SQL] With

With with t1 as ( select count(*) as cnt from kpa_cyberedu.educoursecreditsfo e where 1=1 and e.lcnsNo = #{licenseNumber} and e.eduYear = #{eduYear} ) select m.MBER_ID ...

[SQL] Where In

where [column name] in (subquery) select c.title, c.lv2Cd from test c where 1=1 and c.lv2Cd in ( select menu.lv2Cd from test menu where menu.title = (select e.title from test e where e....

MyBatis

MyBatis ORM Framework 중 하나로 Java 언어를 위한 오픈 소스 SQL 매퍼 프레임워크. SQL 문장을 XML 파일이나 애너테이션을 통해 작성하고, 이를 객체 지향 언어인 Java와 매핑하여 사용할 수 있게 해준다. 즉, 자바 개발자들이 데이터베이스를 쉽게 다룰 수 있도록 돕는다. MyBatis 장점 유연성:...

HTTP Basic

IP (Internet Protocol) 역할 지정한 IP 주소에 데이터 전달. 패킷 (packet) 이라는 통신단위로 데이터 전달. IP Packet 정보 : 출발지 IP, 목적지 IP, 기타.., 전송데이터 IP 프로토콜의 한계 비연결성 : 패킷을 받을...

JS Utility & Methods

PromiseAll function getEduList(selectedYear, type) { const url1 = '/.../.../...'; const url2 = '/.../.../...'; const payLoad = new FormData(); payLoad.set('thYr',...

[Git] Merge Flow

How to merge local branch into main branch

[Git] Command Line

connect local storage to remote storage git init: 로컬저장소 지정 및 생성 git remote add origin [깃 레퍼지토리 주소] git remote -v: 레퍼리토리 주소 확인 git remote remove origin: 원격저장소 연결 해제 ...