ㅇㅇ
- 카테고리 없음
- · 2023. 9. 25.
06_Backend 하위폴더에 04_JPAExam 폴더생성 JPAExam 프로젝트 만들기 버전 2.7.16으로 설정하고 종속성 5개 체크 build gradle (dependencies 수정) dependencies { // TODO : 오라클 라이브러리( 19c ) implementation 'co m.oracle.database.jdbc:ucp:19.14.0.0' implementation 'com.oracle.database.security:oraclepki:19.14.0.0' implementation 'com.oracle.database.security:osdt_cert:19.14.0.0' implementation 'com.oracle.database.security:osdt_core:19.1..
CRUD create read update delete 01 전체조회 (read) 02 선택조회 (read) 03 추가 (create) 04 추가 (create) 05 수정(update) 06 삭제(delete) 플러그인 설치 DTO generator json 코드를 pojo로 생성 POJO to JSON Dto 객체를 포함한 pojo 객체를 json 형식으로 만들어주는 플러그인 (랜덤 값으로 채우는 기능) 사용법 모델(dept, emp 등)파일에서 마우스 오른쪽버튼 copy json 클릭 후 붙여넣기(랜덤 값) resources -> static 폴더에 img와 css폴더만들기 css 파일에 main폴더만들기 views common 파일에 footer, header 만들기 전체조회 Deptservice..
exam02 ParamController package com.example.controllerexam.controller.exam02; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; /** * packageName : com.example.controllerexam.cont..
# SpringBoot 프로젝트 생성법 1) 웹 제작(Spring initializer) : http://start.spring.io - Project 빌드 : Gradle - Groovy - spring boot 버전 : 2.7.16 선택 - spring Metadata : Artifact : 프로젝트 명 넣기 (예: helloworld) - Packaging : War 선택 - Java : jdk 11 선택 - (오른쪽화면) Dependencies : ADD Dependencies 버튼 클릭 : 라이브러리 추가 (1) Spring Boot DevTools (2) Lombok (3) Spring Web - GENERATE 버튼 클릭 : zip 압축된 spring 프로젝트 파일 다운로드 됨 2) 인텔리제..
Sec 02 Exam 01 Car.java package chap06.sec02.exam01; /** * packageName : chap06.sec02.exam01 * fileName : Car * author : GGG * date : 2023-09-19 * description : 자동차 클래스 * 요약 : * 클래스 : 객체의 구조를 정의하는 곳 (속성(필드, 멤버변수), 생성자, 함수(메소드)) * 객체(인스턴스) : 클래스로부터 생성되면 new 생성자함수() 이용해서 생성함 * new 연산자 : 객체 생성 연산자이며 , 생성자함수를 호출하고 힙 메모리방에 객체를 저장함 * 사용법 : 클래스 객체변수 = new 생성자함수(); * 객체변수 : 힙 메모리 방번호(주소)가 저장됨 * * ======..
내 블로그 - 관리자 홈 전환 |
Q
Q
|
---|---|
새 글 쓰기 |
W
W
|
글 수정 (권한 있는 경우) |
E
E
|
---|---|
댓글 영역으로 이동 |
C
C
|
이 페이지의 URL 복사 |
S
S
|
---|---|
맨 위로 이동 |
T
T
|
티스토리 홈 이동 |
H
H
|
단축키 안내 |
Shift + /
⇧ + /
|
* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.