본문 바로가기

전체 글108

90일차 - [Spring] 애플리케이션 배포 자바 기반으로 만들어진 프로그램은 압축파일 형식으로 전달됩니다. 애플리케이션 배포 단위 애플리케이션은 배포 시 다양한 단위 묶음 패키징을 통해 배포할 수 있습니다. Java의 경우 jar, war, ear 등의 방식으로 패키징하여 배포할 수 있습니다. jar(Java Archive) 웹 아닌 일반 라이브러리 Java 라이브러리, 리소스, property 파일들을 포함합니다. war(Web Archive) 웹 컨테이너에 배포되는 배포 형식 Servlet, jar 파일과 WEB-INF 폴더에 있는 web.xml 파일로 구성됩니다. ear(Enterprise Archive) 특정한 애플리케이션 서버에서 동작할 때 jar와 war을 묶어서 하나의 완성된 웹 애플리케이션 서비스를 제공할 수 있습니다. 1. war.. 2022. 5. 24.
[Mybatis] BindingException 오류 메시지 Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.mycompany.idev.mapper.QuestionMapper.getPageList 원인 root-context.xml 파일의 mapperLocations에 매퍼 XML 파일이 위치한 경로를 정의하지 않아서 오류가 발생했다. classpath:META-INF/mybatis/member.xml classpath:META-INF/mybatis/notice.xml classpath:META-INF/mybatis/performance.xml 해결 방법 root-c.. 2022. 5. 9.
[JDBC] BadSqlGrammarException 오류 메시지 org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: 상황 insert문을 실행시키는 중 컬럼명이 달라서 오류가 발생했습니다. INSERT INTO notice (notice_idx,notice_title,notice_contents) VALUES (notice_idx_seq.nextval,#{notice_title},#{notice_contents}) 원인 1) 매퍼 xml 파일에서 SQL 구문의 컬럼명이 DB 테이블의 컬럼명과 다른 경우 2) 값을 받아올 때 #{ } 대신 ${ .. 2022. 5. 3.
[Mybatis] java.sql.SQLException: 부적합한 열 유형: 1111 오류 메시지 Request processing failed; nested exception is org.mybatis.spring. MyBatisSystemException: nested exception is org.apache.ibatis.type. TypeException: Could not set parameters for mapping: ParameterMapping{property='notice_title', mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.. 2022. 5. 2.
44회 SQLD(SQL 개발자) 시험 후기 준비물 신분증, 필기구(검은색 볼펜 또는 사인펜) 수험표는 필요 없습니다. 답안지를 받기 전에 가방에 집어넣어야 하며 마킹 시 수험번호를 알려줍니다. 시험 과목 및 내용 출제 문항 수 : 50문항 시험 시간 : 90분 구분 과목명 과목 세부 내용 문항 수 배점 1과목 데이터 모델링의 이해 • 데이터 모델링의 이해 • 데이터 모델과 성능 10 20 2과목 SQL 기본 및 활용 • SQL 기본 • SQL 활용 • SQL 최적화 기본원리 40 80 * 2과목 3장 'SQL 최적화 기본원리'는 최근 시험에서 출제되지 않고 있습니다. 합격 기준 총점이 60점 이상이어야 하며, 과목별로 40% 이상(1과목 8점 이상, 2과목 32점 이상)의 점수를 획득해야 합격입니다. 베이스 비전공자이고 현재 국비지원 학원을 다니.. 2022. 4. 20.