전체 글136 [JavaScript] event.preventDefault 이벤트를 취소할 수 있는 경우, 이벤트의 전파를 막지않고 그 이벤트를 취소합니다. a 태그를 버튼처럼 사용하면서, URL을 변경하지 않을 때 유용합니다. 클릭하세요 ref : developer.mozilla.org/ko/docs/Web/API/Event/preventDefault 2021. 4. 28. [JPA] @Transient 속성 or 필드를 전송하고 싶지 않을 때 사용합니다. 보통 비밀번호 확인 필드에서 많이 사용되네요. @Entity public class Employee { @Id int id; @Transient User currentUser; ... } ref : docs.jboss.org/hibernate/jpa/2.1/api/javax/persistence/Transient.html 2021. 4. 27. [Spring Boot] Hello World 프로젝트 생성 IDE : IntelliJ 메인 메뉴에서 File | New | Project 선택 좌측 메뉴에서 Spring Initializr 선택 SDK 선택 (없다면 다운로드 가능) https://start.spring.io/ 선택 후 다음으로 이동 프로젝트 setting 기본값으로 두고 다음으로 이동 Web 선택 후 우측에 Spring Web 선택 후 다음으로 이동 프로젝트 configuration 기본값으로 두고 프로젝트 생성 DemoApplication.java 작성 package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApp.. 2021. 4. 13. [GitHub] 저장소(repository) 이름 정하기 소문자 사용 언더바( _ ) 대신 대쉬( - ) 사용 ex) purchase-rest-service, lowercase-with-hyphens ref : stackoverflow.com/questions/11947587/is-there-a-naming-convention-for-git-repositories 2021. 4. 6. 이전 1 ··· 31 32 33 34 다음