Skip to content

feat(db): DBMS별 샘플 데이터베이스 스크립트 추가 - #68

Open
LeeBaekHaeng wants to merge 2 commits into
eGovFramework:mainfrom
itcen-entec-2026:codex/feat/dbms-sample-scripts
Open

feat(db): DBMS별 샘플 데이터베이스 스크립트 추가#68
LeeBaekHaeng wants to merge 2 commits into
eGovFramework:mainfrom
itcen-entec-2026:codex/feat/dbms-sample-scripts

Conversation

@LeeBaekHaeng

Copy link
Copy Markdown
Contributor

수정 사유 Reason for modification

소스를 수정한 사유가 무엇인지 체크해 주세요. Please check the reason you modified the source. ([X] X는 대문자여야 합니다.)

  • 버그수정 Bug fixes
  • 기능개선 Enhancements
  • 기능추가 Adding features
  • 기타 Others

수정된 소스 내용 Modified source

검토자를 위해 수정된 소스 내용을 설명해 주세요. Please describe the modified source for reviewers.

개요

샘플 데이터베이스를 여러 DBMS에서 구성할 수 있도록 DBMS별 SQL 스크립트를 추가합니다.

변경 사항

  • script/ddl/{DBMS}에 테이블 생성 DDL 추가
  • script/dml/{DBMS}에 초기 데이터 DML 추가
  • script/comment/{DBMS}에 테이블 및 컬럼 COMMENT 스크립트 추가
  • 다음 8개 DBMS 지원
    • Altibase
    • CUBRID
    • Goldilocks
    • MariaDB
    • MySQL
    • Oracle
    • PostgreSQL
    • Tibero
  • DBMS별 데이터 타입과 COMMENT 문법 반영
  • src/main/resources/db/sampledb.sql의 초기 데이터 115문장을 각 DML에 반영

검증

  • DDL, DML, COMMENT 파일을 DBMS별로 구성
  • 총 24개 SQL 파일 생성 확인
  • 각 DML의 INSERT 115문장이 기준 sampledb.sql과 일치함을 확인
  • 모든 DML의 마지막 ID 채번 값이 IDS('SAMPLE', 115)인지 확인
  • 각 DBMS 환경에서 스크립트 실행 확인

참고

  • 이번 변경에는 기존 DATABASE 디렉터리 제거가 포함
  • 애플리케이션 코드와 기존 추적 파일에는 변경이 없습니다.

http://localhost:8080

JUnit 테스트 JUnit tests

테스트를 완료하셨으면 다음 항목에 [대문자X]로 표시해 주세요. When you're done testing, check the following items.

  • JUnit 테스트 JUnit tests
  • 수동 테스트 Manual testing

테스트 브라우저 Test Browser

테스트를 진행한 브라우저를 선택해 주세요. Please select the browser(s) you ran the test on. (다중 선택 가능 you can select multiple) [X] X는 대문자여야 합니다.

  • Chrome
  • Firefox
  • Edge
  • Safari
  • Opera
  • Internet Explorer
  • 기타 Others

테스트 스크린샷 또는 캡처 영상 Test screenshots or captured video

테스트 전과 후의 스크린샷 또는 캡처 영상을 이곳에 첨부해 주세요. Please attach screenshots or video captures of your before and after tests here.

Altibase, CUBRID, Goldilocks, MariaDB, MySQL, Oracle,
PostgreSQL, Tibero용 DDL과 COMMENT 스크립트를 구성한다.

sampledb.sql의 샘플 데이터와 ID 채번 정보를 DBMS별 DML로 제공한다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant