분류 전체보기

Spring Batch 5 버전을 어떻게 사용하는지 간단한 예시를 통해 알아보려 합니다. 환경 Spring Batch 5.1.0 Spring Boot 3.1.3 Java 17 MairaDB(MySQL) 설치 // Spring Batch implementation 'org.springframework.boot:spring-boot-starter-batch' // spring-batch-core implementation 'org.springframework.batch:spring-batch-core:5.1.0' application.properties 설정 ### spring batch spring.batch.job.enabled=true spring.batch.jdbc.initialize-schema=a..
에러 로그 및 원인 A problem occurred configuring root project 'log'. > Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.1.5. Required by: project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.1.5 > No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.1.5 was found. The cons..
Git 복사 $ git clone 원격저장소_이름 Git fetch 원격 저장소에 변경된 최신 데이터가 있는지 확인하는 명령어 $ git fetch 원격저장소_이름 git pull vs git fetch pull은 원격저장소에 변경된 데이터가 있는지 확인 후 local 저장소에 바로 그 내용을 업데이트. fetch는 원격저장소에 변경된 데이터가 있는지 확인까지만 함. Git log 확인 $ git log commit에 대한 자세한 정보 보기 $ git show 커밋번호 Git reflog 지금까지 git 명령어 기록 목록을 불러옴 $ git refleg Git 복구 git reset $ git reset '커밋_아이디' $ git reset --hard '커밋_아이디' $ git reset --soft ..
Data 관련 데이터 업데이트 단일 테이블 구문 UPDATE [LOW_PRIORITY] [IGNORE] table_reference SET assignment_list [WHERE where_condition] [ORDER BY ...] [LIMIT row_count] value: {expr | DEFAULT} assignment: col_name = value assignment_list: assignment [, assignment] ... 옵션에 대하여 간단한 설명 LOW_PRIORITY : 처리 우선순위. 다른 클라이언트가 SELECT 중 일 경우 모두 끝날때까지 기다리고 실행. IGNORE : PK, UK에 대한 동일한 데이터를 추가, 수정, 삭제할때 해당 에러를 무시하고 계속 진행하는 옵션 W..
Git 계정 등록 $ git config --global user.name "Your Name Comes Here" $ git config --global user.email you@yourdomain.example.com Git 초기화 $ git init 실행 결과 아래처럼 나오면 초기화 성공 Initialized empty Git repository in .git/ 파일 추가 (스테이징 영역에 추가) 모든 파일 추가 $ git add . 원하는 파일만 추가 $ git add file1 file2 file3 커밋할 파일 목록 보기 $ git diff 커밋 $ git commit 메세지를 포함한 커밋 $ git commit -m "메세지" 브런치 관리 브런치 생성 $ git branch 브런치_이름 브런..
DB 관련 생성 CREATE DATABASE 데이터베이스_이름; 사용 USE 데이터베이스_이름; Table 관련 테이블 전체 조회 SHOW TABLES; 테이블 생성 CREATE TABLE 테이블_이름 (컬럼명 컬럼타입()), (컬럼명2, 컬럼타입2()) · · · ; 테이블 상세 조회 DESCRIBE 테이블_이름; 데이터 입력 파일로부터 입력 LOAD DATA LOCAL INFILE '파일경로/파일이름.확장자' INTO TABLE 테이블_이름; ※ 만약 파일을 자동 줄 바꿈 적용된 상태라면 아래와 같이 조건 추가 LOAD DATA LOCAL INFILE '파일경로/파일이름.확장자' INTO TABLE 테이블_이름 LINES TERMINATED BY '\r\n'; 쿼리문으로 입력 INSERT INTO 테..
Red-Hat
'분류 전체보기' 카테고리의 글 목록 (2 Page)