묻고 답해요
161만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨외워서 끝내는 네트워크 핵심이론 - 기초
UDP에 대하여
안녕하세요! 수업 너무 유익하게 잘 들었습니다.강사님이 말씀하신 게임 예시외에 UDP가 사용되는 대표적인 예시로 "실시간 스트리밍"을 제공하는 경우가 자주 언급되는 것을 봤습니다.하지만 만약 네이버에서 제공하는 실시간 스트리밍 비디오라면, 네이버는 HTTP/HTTPS 으로 통신이 되니 TCP 프로토콜을 사용한다는 뜻인데 그러면 위 같은 서비스를 제공하는데 UDP를 사용하지 않는 걸까요?즉 어떤 웹사이트에서 제공하는 실시간 스트리밍 비디오라면, UDP를 사용해서 통신하는지 TCP를 사용해서 통신하는지 궁금합니다.아니면 웹사이트를 로딩할 때는 TCP를 통해서 통신하고, 해당 비디오를 실시간으로 보여줄 때는 UDP를 쓰는 방식일까요?
-
미해결일주일 완성! 3dsmax 입문 (자동차 및 캐릭터 만들기)
5분에서 엣지 선택하고 늘리기 질문입니다!
앞 유리창에서 천장을 뽑으려고하는데 엣지 선택이 안되고 선택을 해도 늘어나지가 않아요 무슨 문제일까요..?
-
해결됨카프카 완벽 가이드 - 커넥트(Connect) 편
안녕하세요~~
스키마 레지스트리 강의 듣다가 궁금해서 질문드립니다.하위 호환성에서 쓰기 스키마 V1 읽기 스키마 V2가 있다고 교재에 나와있는데요.저기에 나와있는 스키마 즉 쓰기 스키마는 source db의 table의 스키마이고 읽기 스키마는 동기화되는 target db의 table이 맞죠?그리고 쓰기 스키마를 기준으로 producer와 consumer가 데이터를 serialize, deserialize 하구요?V1, V2라고 되어있고 그래서 schema registry에 있는 version으로 생각했었는데 생각해보니 만약 서로(source, target) 스키마 레지스트리에서 사용하는 버전이 다르다면 그거를 커넥터 정의할 경우 정의를 해주고 해야하는데 그런게 없어서 궁금해서 여쭤봐요~~
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 유튜브 사이트 만들기
npm install 에러 질문드립니다.
2번째 강의 #2 전체적인 틀 만들고 MongoDB 연결파트에서터미널에서 파워셀로 npm install 명령어 실행시 아래와 같은 에러가 발생됩니다. node -v 입력시에 v18.13.0이라고 나오는데 버전 문제인 걸까요? 강의에서는 v10.16.0 으로 나오기는 합니다. 그래서 노드 버전 v10.16.0 으로 낮춰보려고 하는데 node.js페이지에서는 해당 버전은 찾을수가 없네요. 어떻게 해야되나요? 해결 방법 좀 알려주세요. 감사합니다 . --- 아래 ---npm ERR! code 1npm ERR! path C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcryptnpm ERR! command failednpm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-buildnpm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\YSH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)npm ERR! node-pre-gyp info it worked if it ends with oknpm ERR! node-pre-gyp info using node-pre-gyp@0.14.0npm ERR! node-pre-gyp info using node@18.13.0 | win32 | x64npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https downloadnpm ERR! node-pre-gyp info check checked for "C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node" (not found)npm ERR! node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v108-win32-x64-unknown.tar.gznpm ERR! node-pre-gyp http 404 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v108-win32-x64-unknown.tar.gznpm ERR! node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v108-win32-x64-unknown.tar.gznpm ERR! node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@18.13.0 (node-v108 ABI, unknown) (falling back to source compile with node-gyp)npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v108-win32-x64-unknown.tar.gznpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@9.3.1npm ERR! gyp info using node@18.13.0 | win32 | x64npm ERR! gyp info oknpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@9.3.1npm ERR! gyp info using node@18.13.0 | win32 | x64npm ERR! gyp ERR! find Pythonnpm ERR! gyp ERR! find Python Python is not set from command line or npm configurationnpm ERR! gyp ERR! find Python Python is not set from environment variable PYTHONnpm ERR! gyp ERR! find Python checking if "python3" can be usednpm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an errornpm ERR! gyp ERR! find Python checking if "python" can be usednpm ERR! gyp ERR! find Python - "python" is not in PATH or produced an errornpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python39\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python39\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python39-32\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python39-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python38\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python38\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python38-32\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python38-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python37\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python37\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python37-32\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python37-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python36\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python36\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Users\YSH\AppData\Local\Programs\Python\Python36-32\python.exenpm ERR! gyp ERR! find Python - "C:\Users\YSH\AppData\Local\Programs\Python\Python36-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exenpm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be runnpm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an errornpm ERR! gyp ERR! find Pythonnpm ERR! gyp ERR! find Python **********************************************************npm ERR! gyp ERR! find Python You need to install the latest version of Python.npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,npm ERR! gyp ERR! find Python you can try one of the following options:npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)npm ERR! gyp ERR! find Python - Set the environment variable PYTHONnpm ERR! gyp ERR! find Python - Set the npm configuration variable python:npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe"npm ERR! gyp ERR! find Python For more information consult the documentation at:npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installationnpm ERR! gyp ERR! find Python **********************************************************npm ERR! gyp ERR! find Pythonnpm ERR! gyp ERR! configure errornpm ERR! gyp ERR! stack Error: Could not find any Python installation to usenpm ERR! gyp ERR! stack at PythonFinder.fail (C:\Users\YSH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47)npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Users\YSH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21)npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\YSH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18)npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\YSH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16)npm ERR! gyp ERR! stack at exithandler (node:child_process:427:5)npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:439:5)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:289:12)npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:476:16)npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)npm ERR! gyp ERR! System Windows_NT 10.0.22621npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\YSH\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\YSH\\Desktop\\코딩\\배틀코딩\\youtube\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\YSH\\Desktop\\코딩\\배틀코딩\\youtube\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v108"npm ERR! gyp ERR! cwd C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcryptnpm ERR! gyp ERR! node -v v18.13.0npm ERR! gyp ERR! node-gyp -v v9.3.1npm ERR! gyp ERR! not oknpm ERR! node-pre-gyp ERR! build errornpm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\YSH\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v108' (1)npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29)npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.22621npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\YSH\\Desktop\\코딩\\배틀코딩\\youtube\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"npm ERR! node-pre-gyp ERR! cwd C:\Users\YSH\Desktop\코딩\배틀코딩\youtube\boilerplate-mern-stack-master\node_modules\bcryptnpm ERR! node-pre-gyp ERR! node -v v18.13.0npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.14.0npm ERR! node-pre-gyp ERR! not ok
-
미해결스프링 핵심 원리 - 기본편
CoreApplication.java 오류
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요. 안녕하세요. 마지막에 앱실행 하는 부분에서 이 에러가 발생합니다.포트번호를 이미쓰고 있다고 말하는거 같은데 핸들링을 못하겠습니다. 혹시 방안 제시 해주실수 있을까요 ㅠㅠ
-
미해결[실전 게임 코드 리뷰] 유니티 캐주얼 게임 (엘리스팡)
멘토링 관련 질문이 있어요!
7월 멘토링 일정중에 웹서버는 어떤 것을 사용하는지 궁금합니다.
-
미해결스프링 핵심 원리 - 기본편
IntelliJ 질문드립니다.
안녕하세요 인텔리제이에 대해 잘 알지못해 질문드립니다.강의가 intellij 무료버전으로 진행이 되는데 유료버전을 사용해도 환경설정 등 동일하게 강의 수강하며 코딩하는데 지장이 없는지 궁금합니다.
-
미해결[개정3판] Node.js 교과서 - 기본부터 프로젝트 실습까지
백그라운드 실행과 스레드 질문
안녕하세요비동기 함수들은 백그라운드로 보내서 실행이 된다고 하셨는데그럼 백그라운드에서 실행되는 애들이 멀티스레드로 실행이 되는건가요?setTimeout, promise를 호출하면 둘 다 백그라운드로 이동하는데여기서 백그라운드 영역은 여러 스레드가 백그라운드로 온 함수들을 동시에 실행하고 태스크 큐로 보내고 이벤트 루프가 호출 스택이 비었을 때 태스크 큐에 작업이 남아있다면 호출스택으로 올려서 작업을 실행하는 것이 맞을까요?감사합니다!
-
미해결모던 안드로이드 - 코틀린과 Jetpack 활용
공적 마스크 조회 앱 자바 버전 질문입니다.
안드로이드 jetpack 관련하여 코틀린 부분만 필요로 한 상황인데 코틀린 부분 본 이후에 자바 부분 봐도 괜찮을까요??"공적 마스크조회 앱 자바 버전"을 수강해야 뒤에 "공적 마스크조회 앱 코틀린 버전"을이해할 수 있는지 궁금합니다.
-
해결됨CS 지식의 정석 | 디자인패턴 네트워크 운영체제 데이터베이스 자료구조
캐스트 방식에 대한 강의는 어디서 볼 수 있을까요?
안녕하세요! 강의 잘 수강하고 있습니다. :)다름이 아니라, 네트워크 토폴로지 필요성과 병목현상 강의 이후에 캐스트에 대한 강의가 아닌 LAN, MAN, WAN 강의로 바로 넘어가는 것 같아 질문드립니다.
-
미해결Slack 클론 코딩[실시간 채팅 with React]
SWR Devtools 강의중
안녕하세요 제로초님 npm 사이트에서 devtools 보니까cache하고 mutate가 사라져있는데 swr하고 swr-devtools 버전을 강의하고 일치시키면 mutate 만되고 cache가 안됩니다!
-
해결됨외워서 끝내는 네트워크 핵심이론 - 기초
MTU & MSS
MTU는 인터넷상에서 전송할 수 있는 데이터 패킷의 최대 크기로 알고 있습니다 -- 1)MSS는 L4 TCP 레벨에서 Segment가 전송할 수 있는 최대 데이터 크기로 알고 있습니다 -- 2)여기서 Socket 레벨의 Stream을 L4 TCP 레벨에서 먼저 MSS 단위로 쪼갠다음에 MTU가 MSS보다 작다면 L3 IP 레벨에서 Fragmentation이 발생하고 MTU가 MSS보다 크다면 MSS 단위 그대로 보내는 것이 맞나요? -- 3) 위의 질문 1, 2, 3에 대해서 옳은 답변인지 궁금합니다.
-
미해결실리콘밸리 엔지니어에게 배우는 파이썬 아파치 스파크
스트리밍 window 관련 질문드립니다.
spark streaming을 설명하시면서 광고로그를 join? 하는걸 예시로 들어주셨는데요, 노출이랑 클릭이랑 interval이 10분~30분 정도가 아니라 7일 이렇게 되는 경우에도 spark streaming으로 처리가 가능한가요?? 궁금합니다.
-
미해결카프카 완벽 가이드 - 커넥트(Connect) 편
안녕하세요
궁금한게 있어서 질문드립니다~~consumer를 구현할 때 데이터를 올드 데이터가 덮어쓰는 경우나 삭제 처리 때문에 날짜를 validation하는 로직이 들어가게 되는데요데이터를 올드 데이터가 덮어쓰는 경우는 저장소가 장애가나거나 비즈니스 로직으로인해 에러가 나고 뉴 데이터는 들어가게 되었을 때 올드 데이터가 데드레터에 들어가 있고 복구된다면 덮어쓰게 됩니다.consumer -> validation storevalidation 통과후consumer -> source store위의 과정 후에 저장하게 됩니다.그런데 카프카 커넥터를 기반으로 했을 때는 위의 과정 처리를 어떻게 할 수 있을까요?물론 로직이 들어가게 되므로 커넥터를 사용하지 않고 구현하는게 맞는 것 같기는한데 만약 그렇게 될 경우에는 카프카 커넥터의 사용범위가 로그성 데이터나 초기 데이터를 이관할 때 정도로 사용되는 범위가 축소될 것 같아서 질문드려 봅니다! 감사합니다
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
타입스크립트오류
강의를 여러번 따라해봐도 이런 오류가 뜹니다ㅠ
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
ManyToOne 관계에서 페치조인
안녕하세요. JPA 강의를 듣고 프로젝트를 진행하던중에 페치조인과 관련된 문제가 생겨서 질문드립니다.총 4개의 엔티티(A,B,C,D)가 있습니다.B는 각각 A, C와 ManyToOne 관계입니다.* A(1) <- B(N) -> C(1)C는 D와 ManyToOne 관계입니다.* C(N) -> D(1)이런 상황에서 JPQL로 B를 조회하려합니다. 상세 조건은 아래와 같습니다.B를 조회하면서 C를 페치조인으로 같이 가져오고 싶습니다. (A는 가져오지 않음)조회 조건은 A의 id 값과 D의 id 값입니다. 위의 조회를 위해서 JPQL을 다음과 같이 짜보았습니다.1. select b from B b join fetch b.c where b.a.id = :a_Id and b.c.d.id = :d_Id 2. select b from B b join fetch b.c c where b.a.id = :a_Id and c.d.id = :d_IdJPA의 표준 스펙상 페치조인의 대상에는 별칭을 줄 수 없다고 하셔서 별칭을 주지 않고 작성한 것이 1, Hibernate에서 별칭을 허용하기 때문에 별칭을 주고 작성한 것이 2입니다.그런데 위의 두 JPQL 모두 애플리케이션 로딩시점에서 아예 예외가 터져버리더라구요. SemanticException: query specified join fetching, but the owner of the fetched association was not present in the select list위에 적어놓은 것과 같이 ManyToOne 관계가 연쇄적으로 걸려있는 상황에서 페치조인을 어떻게 해야하는지 궁금합니다.
-
미해결파이썬/장고로 웹채팅 서비스 만들기 (Feat. Channels) - 기본편
채팅할때 유저인증을 어떻게 처리해야 할까요??
다른 기능은 전부 스프링 서버에 구현 되어있고 장고는 채팅 서버만 구현되어있습니다. 이럴때 유저인증을 어떻게 해야할까요..
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
JPQL 두개의 엔티티 조회 반환 값 질문
안녕하세요.! 아래의 JPQL 반환값 질문 드립니다..!String query = "SELECT m, t FROM MEMBER m JOIN m.team t" List<Object[]> result = em.createQuery(query).getResultList(); for(Object [] row: result){ Member member = (Member)row[0]; Team team = (Team)row[1]; } Object row에는 어떤 값들이 들어가고..row[0],row[1]에는 어떤 값들이 들어있는지 궁굼합니다.!
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
JQPL 반환 값 질문..!
안녕하세요.!강의를 수강하다가 질문 드립니다.Member.class 엔티티가 아래와 같을 때 @Getter @Entity public class Member { @Id private Long id; private String username; private Long age; ... } Query query = em.createQuery("SELECT m.username, m.age from Member m"); List resultList = query.getResultList(); for (Object o : resultList)){ Object[] result = (Object[]) o; //결과가 둘이상이면 Object[]반환 System.out.println("username = " + result[0]); System.out.println("age = " + result[1]); } 와 같은 JPQL문을 짯을 때,, DB에 존재하는 Member 데이터가id : 1, username : user1, age:10id : 2, username :user2, age:20일 경우에, resultList 에는 Obejct[0], Object[1]이 존재하고,아래 iter문에서 나오는 값은, Object[0][0], Object[0][1] Object[1][0], Object[2][1] 값 인가용? 감사합니다.
-
해결됨일잘하는 마케터, MD에게 꼭 필요한 파이썬 데이터 분석
Google Colab 코드작성 네이버 리뷰 코드 오류
안녕하세요 선생님. 네이버 리뷰 강의 듣다가 코드 오류때문에 글 남깁니다. Driver 네임 오류는 어떻게 고쳐야되나요?