묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
양방향 연관관계에 대해서 질문드립니다.
선생님께서 양방향으로 처리하는 것보다 단방향으로 처리하는 것이 더 좋다고 말씀하셨는데 그렇다면 한가지 예시로 Member와 order의 관계에서 회원으로 로그인해서 주문내역을 확인하고 싶을 경우 양방향의 경우 다이렉트로 Member.getOrders로 처리가 가능하지만 단방향의 경우 em.find(Order.class, member.getId())를 통해 한번더 쿼리문을 날려야 되는데 이게 더 맞는 사용방법이라는 말씀이신가요??? 아직 실무 JPA경험이 없어서 왜 그 부분이 더 좋은지 이해가 가질 않습니다.. 강의에서 말씀하시는 끊어줘야 된다는 부분이 어떠한 이유로 끊어줘야되는지 여쭤봐도될까요??
-
미해결팝스타 공식 뮤비 제작 & 유튜브 2천만 뷰 크리에이터의 애니메이트 X 이모티콘 클래스
안녕하세요 질문이 있습니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 레이블이 이름 넣기 했는데 영상에 레이어 옆에 이름이 안뜨네요 ㅠㅠ 왜그런거죠?? 혹시 어도비 1인 과외도 하시나요?? 지역은 수도권인데..
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
쿼리쓰실때..
안녕하세요 영한님 실무에서 쿼리문 작성하실때 바로 인텔리제이에서 쿼리문을 작성하시나요 아니면 디벨로퍼나 워크벤치 같은곳에서 먼저 쿼리문을 작성하시고 그걸 옮기는식으로 하시나요 ?
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
detection 하는 과정에 대해 질문이 있습니다.
'faster-rcnn pretrained 모델로 video inference 실행 '강의에서 가져온 비디오의 프레임을 하나하나씩 검사를 하는데 그 가져온 프레임을 이진화해서 검출하는 과정이 어디있는지 궁금합니다.
-
미해결처음 배우는 리액트 네이티브
한가지만 더 도와주셔요..ㅜ.ㅜ
다른데서 찾아보려 노력했지만 못찾겠어요...ㅠ.ㅠ 이렇게 안드로이드 홈 환경변수 설정값을 터미널어 넣고 저장을 하였지만 요렇게 오류가 납니다...뭘 잘못한건지.///....ㅜ.ㅜ 환셩변수 설정 터미널 화면이 선생님과도 많이 다르고 한번만 도와주세요ㅜ.ㅜ
-
미해결파이썬 증권 데이터 수집과 분석으로 신호와 소음 찾기
박조은 선생님께
진로를 찾아 헤매는 고등학생입니다. 데이터 사이언티스트에 관심이 생겨서 직접 분석을 해보고자 이 강의를 수강하게 되었습니다. 실제로 이 강의의 18%정도를 수강하면서 많은 것을 느꼈습니다. 아쉽게도, 저의 적성과 맞지 않는 것 같아서 끝까지 수강하지 못할 것 같습니다. 찾아본 결과 인프런의 환불규정에는 맞지 않지만 환불을 할 수 있을까 해서 글을 씁니다.
-
미해결얄코의 반응형 프로그래밍 - 자바스크립트로 쉽게 배우는 ReactiveX
defer의 사용처가 조건에 따른 옵저버블 생성이 맞나요?
https://rxjs.dev/api/index/function/defer 위 공식문서에 따르면 아래와 같이 설명되어있습니다. Creates the Observable lazily, that is, only when it is subscribed. defer allows you to create an Observable only when the Observer subscribes. 공식문서 예제에서의 팩토리 함수는 조건에 따라 옵저버블을 생성하는 것이지만 팩토리 함수가 꼭 조건에 따라 다른 옵저버블을 생성할 필요는 없는 것 같아요. 그저 레이지하게(옵저버가 옵저버블을 구독할 때) 옵저버블을 만들어 내는 함수로 이해됩니다.
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
sys.stdin=open("input.txt", "rt") 질문
안녕하세요!! 다른 강의를 듣다가 첫 줄이 sys.stdin=open("input.txt", "rt") 인 줄 알았는데 어느새 "rt"가 아니라 "r"로 바뀐 것을 발견했습니다. 둘의 차이가 무엇인가요??
-
미해결처음 배우는 리액트 네이티브
아..감사합니다.
아까 그 창에서 리엑트 네이티브 홈페이지 설정셋팅값에서 안드로이드 홈에있는 코드 붙여넣기 해서 잘 빠져 나왔습니다. 그럼이제 홈 환경변수 설정이 끝난거죵?
-
미해결스프링 시큐리티
ProviderManager가 부모용이 따로 있는 이유가 있을까요?
안녕하세요. ProviderManager가 부모용이 따로 있는 이유가 있을까요? 어짜피 AuthenticationProvider가 List라 DaoAuthenticationProvider, AnonymousAuthenticationProvider 둘다 가지고 있어도 될거 같은데요. 스프링이 아무이유없이 저렇게 하진 않았을거 같은데 혹시 제가 모르는 어떤 이유가 있을까요? 그리고 ProviderManager가 하나가 아니고 여러개인 경우는 어떤 경우인가요? 이것 역시 AuthenticationProvider 가 List라 딲히 여러개일 필요가 없어 보이는데 미약한 저의 실력으론 딱히 떠오르지 않네요. 주말 잘보내시고 좋은 강좌 감사합니다.
-
미해결처음 배우는 리액트 네이티브
안드로이드 홈 환경변수 질문입니다.
에러 메세지는 정상 적으로 지워진듯 합니다. 그런데 홈 환경변수 설정에서 리엑트에서 제공하는 코드를 붙여넣기 할려고 명령어 선생님과 같이 vi ~/.zshrc 를 입력하니 이런창이 나옵니다. 이럴땐 어떻게 해야하나요?ㅠ.ㅠ
-
미해결[하루 10분|Web Project] HTML/JS/CSS로 나만의 심리테스트 사이트 만들기
QnA를 배열형태로 만들려고 하는데 질문을 드립니다!
QnA를 배열형태로 만들려고 하는데 질문을 드립니다! 사전에 만드실때, 질문지와 답변문을 어디서 받아 오셨는지 궁금합니다! 아니면 검색어를 어떤식으로 하셔서 검색을 했는지도 궁금합니다! 저는 강의를 참고하여 저만의 색깔로 좀 변형하여 만들려고 하는데, 질문지와 답변리스트를 따로 찾는 방법을 모르겠어서 질문합니다!
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
indexOf 시간복잡도
function solution(target, arr) { let answer; arr.sort((a, b) => a - b); console.log(arr); answer = arr.indexOf(target) + 1; return answer; } let arr = [23, 87, 65, 12, 57, 32, 99, 81]; console.log(solution(32, arr)); 저는 이렇게 코딩했는데 indexOf의 시간복잡도는 어떤가요?
-
미해결3시간이면 충분히 입문자를 벗어날 수 있는 프리미어 프로
오류질문
안녕하세요 6번 파일은 사운드가 포함되어 있어 배치하면 기존의 사운드가 잘립니다. 이건 어떻게 해야 할까요? 버전은 2020 입니다
-
미해결몇 줄로 끝내는 인터랙티브 웹 개발 노하우 [초급편]
안녕하세요
강의 따라하면서 재밌게 잘 듣고 있습니다. loop함수만 켜면 강아지 레이어가 스크롤 하자마자 번개같이 위로 올라가서 (...) 아직 혼자 보고 고치기엔 무리라 js 완성본을 받고 싶습니다. cheryleduart@gmail.com 으로 완성파일 보내주시면 감사하겠습니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
DTO관련 질문드립니다.
// Controller @PostMapping("items/{itemId}/edit") public String updateItem(@PathVariable("itemId") Long itemId, @ModelAttribute("form") BookForm form) { itemService.updateItem(new UpdateItemDto(form)); return "redirect:/items"; } // Entity @Entity @DiscriminatorValue("B") @Getter @Setter public class Book extends Item { private String author; private String isbn; public void updateBook(UpdateItemDto updateItemDto) { this.author = updateItemDto.getAuthor(); this.isbn = updateItemDto.getIsbn(); this.setId(updateItemDto.getId()); this.setName(updateItemDto.getName()); this.setPrice(updateItemDto.getPrice()); this.setStockQuantity(updateItemDto.getStockQuantity()); } } // Service @Transactional public void updateItem(UpdateItemDto updateItemDto) { Book foundedItem = (Book) itemRepository.findOne(updateItemDto.getId()); foundedItem.updateBook(updateItemDto); } 선생님 양질의 강의 잘보고있습니다. 엔티티에서 북이 아이템을 상속하고있는데 그 상속하는 필드에 값을 변경시 위의 코드와 같이 셋터를 불러서 값을 변경시켜주면될까요? 아니면 아이템에도 별도의 메소드를 생성하여 값을 변경해주는게 좋은가요?
-
미해결화이트해커가 되기 위한 8가지 웹 해킹 기술
localhost/dvwa라고 치니깐 로그인 창이 나와요
localhost/dvwa라고 치니깐 로그인 창이 나와요
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
로그인, 회원가입 패스워드 노출 질문입니다.
안녕하세요! 강의 정말 잘 듣고 있습니다~ 항상 감사합니다. 다름이 아니라, 로그인, 회원가입을 구현하던 중에 궁금증이 생겨 질문드립니다. 로그인이나 회원가입시 form을 통해 비밀번호를 서버로 보내면 request body에 비밀번호가 노출되어 전달되는데요, 이렇게 되면 보안상 위험이 있는것 아닌가 해서 숨길 수 있는 방법 혹은 암호화 해서 보낼 수 있는 방법이 있는지 문의 드립니다! 감사합니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
실행지연 오류
안녕하세요 강사님 질 좋은 강의 항상 감사드립니다. 다름이 아니라 해당 강의의 7분 이후부터 실행의 오류가 떠서 제 나름대로 이전에 쓰던 Member 클래스를 삭제하지 않고 그대로 써서 있는 오류라 생각하고 import 해당 부분을 삭제 하고 다시 실행을 해보니 화면과 같이 몇 시간째 계속 구동만 하고 있습니다 ㅠㅠ 혹시 어떤 부분에서 이상이 생긴건지 알고 싶습니다. H2 데이터베이스도 다시 껐다 켜보니 테이블의 속성들과 엔티티들이 제대로 생성 되었으나 프로젝트가 제대로 실행이 안되네요.. 오전 4:23:06: Executing task 'JpashopApplication.main()'... Starting Gradle Daemon... Gradle Daemon started in 7 s 113 ms > Task :compileJava > Task :processResources UP-TO-DATE > Task :classes > Task :JpashopApplication.main() . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.4.6) 2021-06-13 04:23:31.474 INFO 9616 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Starting JpashopApplication using Java 11.0.7 on DESKTOP-JN8L91B with PID 9616 (C:\Users\jmg98\Desktop\spring-study\jpashop\build\classes\java\main started by jmg98 in C:\Users\jmg98\Desktop\spring-study\jpashop) 2021-06-13 04:23:31.480 INFO 9616 --- [ restartedMain] jpabook.jpashop.JpashopApplication : No active profile set, falling back to default profiles: default 2021-06-13 04:23:31.609 INFO 9616 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set 'spring.devtools.add-properties' to 'false' to disable 2021-06-13 04:23:31.609 INFO 9616 --- [ restartedMain] .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the 'logging.level.web' property to 'DEBUG' 2021-06-13 04:23:33.528 INFO 9616 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2021-06-13 04:23:33.568 INFO 9616 --- [ restartedMain] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 0 JPA repository interfaces. 2021-06-13 04:23:36.861 INFO 9616 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-06-13 04:23:36.886 INFO 9616 --- [ restartedMain] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-06-13 04:23:36.887 INFO 9616 --- [ restartedMain] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.46] 2021-06-13 04:23:37.109 INFO 9616 --- [ restartedMain] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-06-13 04:23:37.109 INFO 9616 --- [ restartedMain] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5490 ms 2021-06-13 04:23:37.415 INFO 9616 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2021-06-13 04:23:37.530 INFO 9616 --- [ restartedMain] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2021-06-13 04:23:37.543 INFO 9616 --- [ restartedMain] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:tcp://localhost/~/jpashop' 2021-06-13 04:23:37.814 INFO 9616 --- [ restartedMain] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2021-06-13 04:23:37.926 INFO 9616 --- [ restartedMain] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.31.Final 2021-06-13 04:23:38.265 INFO 9616 --- [ restartedMain] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2021-06-13 04:23:38.329 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@707695b9 2021-06-13 04:23:38.329 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@707695b9 2021-06-13 04:23:38.329 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@707695b9 2021-06-13 04:23:38.331 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@58db1cb 2021-06-13 04:23:38.332 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@322582ea 2021-06-13 04:23:38.333 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@39657700 2021-06-13 04:23:38.336 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@2acaddb3 2021-06-13 04:23:38.336 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@2acaddb3 2021-06-13 04:23:38.336 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@2acaddb3 2021-06-13 04:23:38.339 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@36a0dc2b 2021-06-13 04:23:38.339 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@36a0dc2b 2021-06-13 04:23:38.339 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@36a0dc2b 2021-06-13 04:23:38.341 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@25a931e6 2021-06-13 04:23:38.342 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@25a931e6 2021-06-13 04:23:38.342 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@25a931e6 2021-06-13 04:23:38.345 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@4bf5ff2a 2021-06-13 04:23:38.345 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@4bf5ff2a 2021-06-13 04:23:38.345 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@4bf5ff2a 2021-06-13 04:23:38.347 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@29d778e5 2021-06-13 04:23:38.347 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@29d778e5 2021-06-13 04:23:38.348 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@29d778e5 2021-06-13 04:23:38.350 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@1c961bf9 2021-06-13 04:23:38.350 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@1c961bf9 2021-06-13 04:23:38.350 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@1c961bf9 2021-06-13 04:23:38.352 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@5e5dd60c 2021-06-13 04:23:38.353 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@5e5dd60c 2021-06-13 04:23:38.353 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@5e5dd60c 2021-06-13 04:23:38.355 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@3228f1b8 2021-06-13 04:23:38.356 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@3228f1b8 2021-06-13 04:23:38.357 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@667b76d3 2021-06-13 04:23:38.358 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@667b76d3 2021-06-13 04:23:38.359 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@1e16df67 2021-06-13 04:23:38.359 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@1e16df67 2021-06-13 04:23:38.360 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@7cf65dc4 2021-06-13 04:23:38.361 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@5eb9949f 2021-06-13 04:23:38.364 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@4027c2f1 2021-06-13 04:23:38.364 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@4027c2f1 2021-06-13 04:23:38.366 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@1286018c 2021-06-13 04:23:38.366 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@1286018c 2021-06-13 04:23:38.368 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@1c38ca04 2021-06-13 04:23:38.370 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@1c38ca04 2021-06-13 04:23:38.371 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@1483ec49 2021-06-13 04:23:38.371 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@1483ec49 2021-06-13 04:23:38.373 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@70426fd9 2021-06-13 04:23:38.373 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@70426fd9 2021-06-13 04:23:38.375 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@2c8bb7a6 2021-06-13 04:23:38.375 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@2c8bb7a6 2021-06-13 04:23:38.377 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@2dcec937 2021-06-13 04:23:38.377 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@2dcec937 2021-06-13 04:23:38.379 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@4d5602fa 2021-06-13 04:23:38.379 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@4d5602fa 2021-06-13 04:23:38.381 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@41bf024 2021-06-13 04:23:38.382 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@41bf024 2021-06-13 04:23:38.384 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@4aff8dd6 2021-06-13 04:23:38.384 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@4aff8dd6 2021-06-13 04:23:38.385 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@53960c84 2021-06-13 04:23:38.385 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@53960c84 2021-06-13 04:23:38.387 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@6744c497 2021-06-13 04:23:38.387 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@6744c497 2021-06-13 04:23:38.388 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@6744c497 2021-06-13 04:23:38.389 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@1033dd6 2021-06-13 04:23:38.391 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@2c3651d7 2021-06-13 04:23:38.391 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@2c3651d7 2021-06-13 04:23:38.392 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@2c3651d7 2021-06-13 04:23:38.393 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@50711b9e 2021-06-13 04:23:38.395 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@3b60b5e 2021-06-13 04:23:38.396 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@760841d9 2021-06-13 04:23:38.397 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@760841d9 2021-06-13 04:23:38.399 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@2f9fc1a5 2021-06-13 04:23:38.399 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@2f9fc1a5 2021-06-13 04:23:38.402 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@661fac2a 2021-06-13 04:23:38.402 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@661fac2a 2021-06-13 04:23:38.403 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@32ab17cb 2021-06-13 04:23:38.403 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@32ab17cb 2021-06-13 04:23:38.404 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@59c49e5f 2021-06-13 04:23:38.405 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@59c49e5f 2021-06-13 04:23:38.406 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@fcf8928 2021-06-13 04:23:38.408 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@215e3147 2021-06-13 04:23:38.408 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@215e3147 2021-06-13 04:23:38.408 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@215e3147 2021-06-13 04:23:38.410 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@5a099d86 2021-06-13 04:23:38.411 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@5a099d86 2021-06-13 04:23:38.411 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@5a099d86 2021-06-13 04:23:38.412 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@419c267a 2021-06-13 04:23:38.413 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@4f54fecd 2021-06-13 04:23:38.414 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@7691154b 2021-06-13 04:23:38.415 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@7691154b 2021-06-13 04:23:38.415 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@7691154b 2021-06-13 04:23:38.416 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@e52e9e3 2021-06-13 04:23:38.416 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@e52e9e3 2021-06-13 04:23:38.416 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@e52e9e3 2021-06-13 04:23:38.417 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@4b9501f8 2021-06-13 04:23:38.418 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@7b4c6401 2021-06-13 04:23:38.420 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@665eae40 2021-06-13 04:23:38.421 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@665eae40 2021-06-13 04:23:38.422 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@4693ed57 2021-06-13 04:23:38.424 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@27ef38ad 2021-06-13 04:23:38.424 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@27ef38ad 2021-06-13 04:23:38.426 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@313e4b3c 2021-06-13 04:23:38.426 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@313e4b3c 2021-06-13 04:23:38.427 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@5e16595 2021-06-13 04:23:38.427 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@7b689e45 2021-06-13 04:23:38.429 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@200ed1b1 2021-06-13 04:23:38.434 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@32a495dc 2021-06-13 04:23:38.434 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@32a495dc 2021-06-13 04:23:38.435 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@11b9dc8f 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@f054b24 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@6ef05a37 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@4461df08 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@1be32eaf 2021-06-13 04:23:38.436 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@3e9a0a9c 2021-06-13 04:23:38.437 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@5257de9a 2021-06-13 04:23:38.437 DEBUG 9616 --- [ restartedMain] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@1884d247 2021-06-13 04:23:38.598 INFO 9616 --- [ restartedMain] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2021-06-13 04:23:38.775 DEBUG 9616 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@c69eb7b] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@4d4bd166] 2021-06-13 04:23:39.616 DEBUG 9616 --- [ restartedMain] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum jpabook.jpashop.domain.DeliveryStatus 2021-06-13 04:23:39.619 DEBUG 9616 --- [ restartedMain] org.hibernate.type.EnumType : Using NAMED-based conversion for Enum jpabook.jpashop.domain.OrderStatus 2021-06-13 04:23:39.619 DEBUG 9616 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@c69eb7b] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@7a720798] 2021-06-13 04:23:40.454 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists category CASCADE 2021-06-13 04:23:40.459 INFO 9616 --- [ restartedMain] p6spy : #1623525820459 | took 1ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists category CASCADE drop table if exists category CASCADE ; 2021-06-13 04:23:40.459 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists category_item CASCADE 2021-06-13 04:23:40.460 INFO 9616 --- [ restartedMain] p6spy : #1623525820460 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists category_item CASCADE drop table if exists category_item CASCADE ; 2021-06-13 04:23:40.460 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists delivery CASCADE 2021-06-13 04:23:40.461 INFO 9616 --- [ restartedMain] p6spy : #1623525820461 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists delivery CASCADE drop table if exists delivery CASCADE ; 2021-06-13 04:23:40.461 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists item CASCADE 2021-06-13 04:23:40.462 INFO 9616 --- [ restartedMain] p6spy : #1623525820462 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists item CASCADE drop table if exists item CASCADE ; 2021-06-13 04:23:40.462 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists member CASCADE 2021-06-13 04:23:40.463 INFO 9616 --- [ restartedMain] p6spy : #1623525820463 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists member CASCADE drop table if exists member CASCADE ; 2021-06-13 04:23:40.463 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists order_item CASCADE 2021-06-13 04:23:40.464 INFO 9616 --- [ restartedMain] p6spy : #1623525820464 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists order_item CASCADE drop table if exists order_item CASCADE ; 2021-06-13 04:23:40.464 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop table if exists orders CASCADE 2021-06-13 04:23:40.465 INFO 9616 --- [ restartedMain] p6spy : #1623525820465 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop table if exists orders CASCADE drop table if exists orders CASCADE ; 2021-06-13 04:23:40.465 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : drop sequence if exists hibernate_sequence 2021-06-13 04:23:40.466 INFO 9616 --- [ restartedMain] p6spy : #1623525820466 | took 0ms | statement | connection 2| url jdbc:h2:tcp://localhost/~/jpashop drop sequence if exists hibernate_sequence drop sequence if exists hibernate_sequence; 2021-06-13 04:23:40.469 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create sequence hibernate_sequence start with 1 increment by 1 2021-06-13 04:23:40.470 INFO 9616 --- [ restartedMain] p6spy : #1623525820470 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create sequence hibernate_sequence start with 1 increment by 1 create sequence hibernate_sequence start with 1 increment by 1; 2021-06-13 04:23:40.471 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table category ( category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id) ) 2021-06-13 04:23:40.472 INFO 9616 --- [ restartedMain] p6spy : #1623525820472 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table category ( category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id) ) create table category ( category_id bigint not null, name varchar(255), parent_id bigint, primary key (category_id) ); 2021-06-13 04:23:40.473 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table category_item ( category_id bigint not null, item_id bigint not null ) 2021-06-13 04:23:40.474 INFO 9616 --- [ restartedMain] p6spy : #1623525820474 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table category_item ( category_id bigint not null, item_id bigint not null ) create table category_item ( category_id bigint not null, item_id bigint not null ); 2021-06-13 04:23:40.474 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table delivery ( delevery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delevery_id) ) 2021-06-13 04:23:40.475 INFO 9616 --- [ restartedMain] p6spy : #1623525820475 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table delivery ( delevery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delevery_id) ) create table delivery ( delevery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delevery_id) ); 2021-06-13 04:23:40.475 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table item ( dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id) ) 2021-06-13 04:23:40.476 INFO 9616 --- [ restartedMain] p6spy : #1623525820476 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table item ( dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id) ) create table item ( dtype varchar(31) not null, item_id bigint not null, name varchar(255), price integer not null, stock_quantity integer not null, artist varchar(255), etc varchar(255), author varchar(255), isbn varchar(255), actor varchar(255), director varchar(255), primary key (item_id) ); 2021-06-13 04:23:40.476 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table member ( member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id) ) 2021-06-13 04:23:40.477 INFO 9616 --- [ restartedMain] p6spy : #1623525820477 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table member ( member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id) ) create table member ( member_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), name varchar(255), primary key (member_id) ); 2021-06-13 04:23:40.478 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table order_item ( order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id) ) 2021-06-13 04:23:40.479 INFO 9616 --- [ restartedMain] p6spy : #1623525820479 | took 0ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table order_item ( order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id) ) create table order_item ( order_item_id bigint not null, count integer not null, order_price integer not null, item_id bigint, order_id bigint, primary key (order_item_id) ); 2021-06-13 04:23:40.479 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : create table orders ( order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id) ) 2021-06-13 04:23:40.481 INFO 9616 --- [ restartedMain] p6spy : #1623525820481 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop create table orders ( order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id) ) create table orders ( order_id bigint not null, order_date timestamp, status varchar(255), delivery_id bigint, member_id bigint, primary key (order_id) ); 2021-06-13 04:23:40.481 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category 2021-06-13 04:23:40.483 INFO 9616 --- [ restartedMain] p6spy : #1623525820483 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category alter table category add constraint FK2y94svpmqttx80mshyny85wqr foreign key (parent_id) references category; 2021-06-13 04:23:40.484 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item 2021-06-13 04:23:40.486 INFO 9616 --- [ restartedMain] p6spy : #1623525820486 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item alter table category_item add constraint FKu8b4lwqutcdq3363gf6mlujq foreign key (item_id) references item; 2021-06-13 04:23:40.486 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category 2021-06-13 04:23:40.488 INFO 9616 --- [ restartedMain] p6spy : #1623525820488 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category alter table category_item add constraint FKcq2n0opf5shyh84ex1fhukcbh foreign key (category_id) references category; 2021-06-13 04:23:40.489 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item 2021-06-13 04:23:40.491 INFO 9616 --- [ restartedMain] p6spy : #1623525820491 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item alter table order_item add constraint FKija6hjjiit8dprnmvtvgdp6ru foreign key (item_id) references item; 2021-06-13 04:23:40.491 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders 2021-06-13 04:23:40.493 INFO 9616 --- [ restartedMain] p6spy : #1623525820493 | took 1ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders alter table order_item add constraint FKt4dc2r9nbvbujrljv3e23iibt foreign key (order_id) references orders; 2021-06-13 04:23:40.494 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery 2021-06-13 04:23:40.497 INFO 9616 --- [ restartedMain] p6spy : #1623525820497 | took 3ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery alter table orders add constraint FKtkrur7wg4d8ax0pwgo0vmy20c foreign key (delivery_id) references delivery; 2021-06-13 04:23:40.498 DEBUG 9616 --- [ restartedMain] org.hibernate.SQL : alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member 2021-06-13 04:23:40.500 INFO 9616 --- [ restartedMain] p6spy : #1623525820500 | took 2ms | statement | connection 3| url jdbc:h2:tcp://localhost/~/jpashop alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member alter table orders add constraint FKpktxwhj3x9m4gth5ff6bkqgeb foreign key (member_id) references member; 2021-06-13 04:23:40.504 INFO 9616 --- [ restartedMain] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2021-06-13 04:23:40.520 TRACE 9616 --- [ restartedMain] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@7a720798] for TypeConfiguration 2021-06-13 04:23:40.524 INFO 9616 --- [ restartedMain] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2021-06-13 04:23:40.550 INFO 9616 --- [ restartedMain] o.s.b.d.a.OptionalLiveReloadServer : LiveReload server is running on port 35729 2021-06-13 04:23:40.709 WARN 9616 --- [ restartedMain] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2021-06-13 04:23:41.120 INFO 9616 --- [ restartedMain] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2021-06-13 04:23:41.443 INFO 9616 --- [ restartedMain] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-06-13 04:23:41.459 INFO 9616 --- [ restartedMain] jpabook.jpashop.JpashopApplication : Started JpashopApplication in 11.642 seconds (JVM running for 13.145)
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
take 관련
2. 사라집니다. 질문의 의도를 추측해보자면 take은 한 번 실행하고 더이상 실행이 안되는데 delay랑 Put은 왜 다음번에 되는지를 물어보시는 것 같은데요. watch 함수는 한 번만 실행되고 login* 함수같은 것은 매번 실행돼서 그렇습니다. 하나의 함수 안에서 더이상 호출이 안 되는거지 새로운 함수가 또 실행되면 새 함수 안에서는 실행됩니다. ============================================= 밑에 다른 분께서 올리신 질문중에 take와 다른 이펙트들에 대해서 질문한 글을 봤습니다. 저도 궁금한 점이 있어서요. watch 함수는 한 번만 실행하고 login* 함수는 매번 실행한다는 게 어떤 의미 일까요? 만약 로그인을 한다고 하였을때 watchLogin() --> Login() --> loginAPI() .. 1) 이런식으로 불리는데 어차피 take든 delay든 put이든 다 한 번만 불려서 한 번만 쓰고 버려지는 그런게 아닐까요? 2) 사실 한 번만 실행이 가능하다는건 이해를 했는데 그 의도가 이해가 안가네요. 그냥 take라는 이펙트 자체의 의도가 한 번만 실행하도록 한거고 여러번 눌릴것을 대비하여 takeLatest를 쓰면된다라고만 이해하면 될까요? 3) 그리고 take가 단 한번만 실행이 가능하다는 의미가 한 번 실행후에는 함수를 불러도 더 이상 실행이 안된다. 그러나 delay나 put같은경우에는 같은 함수를 실행하면 다시 실행된다. 이렇게 이해를 해야할까요. 감사합니다.