묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌
이런 문제는 왜 발생하는 건가요? 원인을 몰라 헤메고 있습니다.
맥스 배워보려고 목마하임님 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌 끊었다가 들어도 잘 모르겠고 기초는 어느정도 쌓아야 할 거 같아서 기초부터 나름 배우고 있는데요. 지금 캐릭터 메쉬에 바이패드 넣다가 엉뚱한 결과가 나와버려서 이거 어떻게 해야할지도 모르겠고 처음이라 메쉬안에 바이패드 넣는것도 겨우 했는데 다시 처음부터 해야한다면 맙소사~입니다. nif 파일을 처음 맥스에 불러오니 캐릭터가 바라보는 시점이 정면이 아니라 후면을 바라보고 있어서 전체 메쉬파일 선택해서 z축으로 180도 틀고 바이패드 작업했는데, 나중 결과는 반대쪽 메쉬가 움직이고 관절도 반대 방향으로 움직여요. 이런 결과는 왜 발생하는 건가요? nif 메쉬파일 불러올 때 정면을 바라보게 하는 옵션이 맥스에 따로 존재하는 건가요? 지금까지 작업한 결과를 바로 잡을 수 있는 방법이 있는지 궁금합니다. 01. 처음 nif 파일을 불러오면 캐릭터는 정면을 바라보지 않습니다. 02. 바이패드 넣어주고 관절 움직여보니 이런 결과가 발생합니다.
-
미해결스프링 핵심 원리 - 기본편
안녕하세요. 3:00 정도에 화면에서 궁금한점 있습니다.
안녕하세요. 개발자님 3:00정도에 회원 도메인 협력관계에 보면 회원 저장소는 인터페이스 구현이 되어있지만 회원서비스는 구현이 안되어있는데, 회원 클래스 다이어그램에서는 회원 서비스도 인터페이스로 구현이 되어있네요. 회원 저장소는 아직 저장소가 선정되어 있지 않기때문에 인터페이스로 구현해서 나중에 갈아끼우려는 의도를 알겠는데, 회원 서비스는 회원가입, 회원조회 정해진 기능이 있는데 인터페이스를 만들고 구현체를 사용하는 이유를 모르겠습니다. 회원가입, 회원조회에 관련된 로직도 서비스단에서 바뀔수 있다고 생각하고 인터페이스를 만든건가요..? 요구사항에는 없었던거 같은데 어떤 의도인지 잘 모르겠어서 질문남깁니다. 질문 읽어주셔서 감사하고, 좋은하루 되시길 바랍니다!
-
미해결스프링 핵심 원리 - 기본편
안녕하세요. 역할과 구현에 궁금한점이 있습니다.
안녕하세요. 개발자님 수업을 듣다보니 조금 헷갈리는 부분이 있습니다. 수업에서 역할과 구현은 인터페이스와 클래스 또는 인터페이스와 클래스로 구현한 인스턴스를 지칭하는 것 같습니다. 근데 이것을 역할과 구현으로 표현하는게 약간 헷갈립니다. 자바에서 클래스라는 것 자체가 인스턴스들의 공통부분을 모아서 추상화 시킨 것이 아닌가요? 그렇다면 클래스와 인스턴스 간의 관계가 역할과 구현이 아닌가 싶습니다. 근데 클래스 or 클래스를 구현한 인스턴스와 인터페이스 관계가 역할과 구현/추상화라고 표현되는게 조금 헷갈립니다. 제가 알고 있는게 잘못된건지, 또는 제가 알고 있는 내용도 맞지만 더 나아가 클래스와 인터페이스 의 관계에서는 또다른 역할과 구현 + 추상화가 된 것을 표현하고 있는지에 대해서 궁금합니다. 좋은하루되시고 항상 답변해주셔서 감사합니다.
-
미해결인공지능 기초수학
강의 교안 부탁드립니다
jong123@me.com 입니다. 감사합니다.
-
미해결<M.B.I.T> 테스트 페이지 만들기! with Django
2번 문제에서 넘어가질 않습니다(강의 하단의 trouble shooting까지 확인한 상황)
강사님 강의를 잘 듣고 있던 와중에 문제가 발생하여 다시 글 남깁니다. 템플릿에 적용하기 전에는 2번에서 다음으로 잘 넘어갔는데, 템플릿을 적용한 후로는 2번에서 다음 버튼이 먹질 않습니다. <input type="radio" name="question-{{ question.number }}" id="choice-{{ choice.pk }}" value="{{ choice.developer.pk }}" /> 부분은 강의 초반에 제대로 적용해서 이 부분에 오류가 나진 않은 것 같습니다. 강의 하단의 trouble shooting 내용을 토대로 진행했을 때, 먼저 저는 데스크톱 크롬 100%인 상태임에도 되지 않고, $('html, body').animate({scrollTop: (700)}, 500); $('html, body').animate({scrollTop: (1400)}, 500); $('html, body').animate({scrollTop: (2100)}, 500); 이렇게 하면 1 -> 2 -> 3번으로 제대로 갑니다. form.js 코드를 해결방법에 있는 내용으로 변경해도 여전히 2번에서 멈춰있습니다ㅠㅠ 아래는 관련 소스코드입니다. form.html {% load static %} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="{% static 'css/reset.css' %}"> <link rel="stylesheet" type="text/css" href="{% static 'css/form.css' %}"> <script src="https://code.jquery.com/jquery-3.5.1.js"></script> <title>나의 개발 유형찾기</title> </head> <body> <section id="survey"> <div class="wrapper"> <form id="form" action="/result/" method="post"> {% csrf_token %} {% for question in questions %} <div class="test"> <div class="question_container"> <h3 class="number">{{ question.number }}/{{ questions.count }}</h3> <h3 class="question">{{ question.counter }}</h3> </div> <div class="answer"> {% for choice in question.choice_set.all %} <div> <input type="radio" name="question-{{ question.number }}" id="choice-{{ choice.pk }}" value="{{ choice.developer.pk }}" /> <label for="choice-{{ choice.pk }}">{{ forloop.counter }}. {{ choice.content }}</label> </div> {% endfor %} </div> {% if not forloop.first %} <div class="btn_wrap btn_sort"> {% else %} <div class="btn_wrap"> {% endif %} {% if not forloop.first %} <button class="prev_btn">이전</button> {% endif %} {% if not forloop.last %} <button class="next_btn">다음</button> {% else %} <input type="submit" value="제출" class="submit_btn"/> {% endif %} </div> </div> {% endfor %} </form> </div> </section> <script type="text/javascript" src="{% static 'js/form.js' %}"></script> </body> </html> form.js // function scrollUp() { // const vheight = $('.test').height(); // $('html, body').animate({ // scrollTop: ((Math.ceil($(window).scrollTop() / vheight) - 1) * vheight) // }, 500); // }; // function scrollDown() { // const vheight = $('.test').height(); // $('html, body').animate({ // scrollTop: ((Math.floor($(window).scrollTop() / vheight) + 1) * vheight) // }, 500); // }; function scrollUp(top) { const vheight = $('.test').height(); const margin_top = parseInt($('#survey').css('margin-top'), 10); $('html, body').animate({ scrollTop: top - vheight - margin_top }, 500); }; function scrollDown(top) { const vheight = $('.test').height(); const margin_top = parseInt($('#survey').css('margin-top'), 10); $('html, body').animate({ scrollTop: vheight + top - margin_top }, 500); } $(function() { // $('.next_btn').click(function(e) { // let divs = $(this).parent().prev().children(); // let inputs = divs.find('input:checked'); // if(inputs.length < 1) { // alert('문항이 선택되지 않았습니다'); // return false; // } // e.preventDefault(); // scrollDown(); // }); // $('.prev_btn').click(function(e) { // e.preventDefault(); // scrollUp(); // }); $('.next_btn').click(function(e){ let divs = $(this).parent().prev().children(); let present_top = $(this).parent().parent()[0].offsetTop; let inputs = divs.find('input:checked'); if(inputs.length < 1) { alert('문항이 선택되지 않았습니다.'); return false; } e.preventDefault(); scrollDown(present_top); }); $('.prev_btn').click(function(e){ let present_top = $(this).parent().parent()[0].offsetTop; e.preventDefault(); scrollUp(present_top); }); $('#form').submit(function() { let radios = $('input[type=radio]:checked'); if(radios.length < 3) { alert('문항이 선택되지 않았습니다'); return false; } return true; }); $('html, body').animate({ scrollTop: 0 }, 500); }); 답변 기다리고 있겠습니다! 감사합니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
상품주문 테스트 코드 질문드립니다.
선생님 항상 좋은 강의 많은 도움이 되고있습니다. 감사합니다!! 우선 제 전체 코드는 다음주소에 (깃허브)에 올렸습니다. https://github.com/minkook92/jpahsop/tree/master/src 제 나름대로 상품주문 test-code를 작성하였으나, 오류가 납니다. 혹시 어디서 잘못 되었는지 봐 주시면 감사하겠습니다! package jpabook.jpashop.service; import jpabook.jpashop.domain.*; import jpabook.jpashop.domain.item.Book; import jpabook.jpashop.domain.item.Item; import jpabook.jpashop.repository.OrderRepository; import org.assertj.core.api.Assertions; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import org.springframework.transaction.annotation.Transactional; import javax.persistence.EntityManager; import static org.junit.Assert.*; @RunWith(SpringRunner.class) @SpringBootTest @Transactional public class OrderServiceTest { @Autowired MemberService memberService; @Autowired ItemService itemService; @Autowired OrderService orderService; @Test public void 상품주문() throws Exception { //given //멤버저장 Member member = new Member(); member.setName("kim"); member.setAddress(new Address("city", "street", "zipcode")); memberService.join(member); //책 저장 Book book = new Book(); book.setIsbn("12345"); book.setAuthor("kim"); book.setStockQuantity(100); book.setPrice(10000); book.setName("바람과함께 사라지다."); itemService.saveItem(book); //when //멤버 찾기 Member findMember = memberService.findOne(member.getId()); //아이템 찾기 Item findItem = itemService.findOne(book.getId()); //배달 정보 저장 Delivery delivery = new Delivery(); delivery.setStatus(DeliveryStatus.READY); delivery.setAddress(member.getAddress()); //주문 아이템 저장 OrderItem orderItem = OrderItem.createOrderItem(findItem, findItem.getPrice(), 10); //주문 생성 Order order = Order.createOrder(findMember, delivery, orderItem); //주문 찾기 Long orderId = orderService.order(order.getMember().getId(), order.getOrderItems().get(0).getId(), order.getOrderItems().get(0).getCount()); Order findOrder = orderService.findOne(orderId); //then //재고 수량 검증 , 100개의 stockQuantity에서 주문을 10개를 하였고, 이를 주문에 반영하였으니, 주문을 한다면 stockQuantity는 90개가 되어야 함. Assertions.assertThat(findOrder.getOrderItems().get(0).getCount()).isEqualTo(90); } @Test public void 주문취소() throws Exception { //given //when //then } @Test public void 상품주문_재고수량초과() throws Exception{ //given //when //then } } 오류 내용 2021-06-07 05:47:02.587 INFO 9712 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@3f67593e testClass = OrderServiceTest, testInstance = jpabook.jpashop.service.OrderServiceTest@17541204, testMethod = 상품주문@OrderServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1ab06251 testClass = OrderServiceTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@394df057, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6ab778a, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@58ea606c, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@63070bab, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3098cf3b, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1189dd52], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@34001c5d]; rollback [true] 2021-06-07 05:47:03.188 DEBUG 9712 --- [ main] org.hibernate.SQL : select member0_.member_id as member_i1_2_, member0_.city as city2_2_, member0_.street as street3_2_, member0_.zipcode as zipcode4_2_, member0_.name as name5_2_ from member member0_ where member0_.name=? 2021-06-07 05:47:03.203 INFO 9712 --- [ main] p6spy : #1623012423203 | took 4ms | statement | connection 4| url jdbc:h2:mem:787fed49-3533-4ca4-b5e2-6e76bef929f6 select member0_.member_id as member_i1_2_, member0_.city as city2_2_, member0_.street as street3_2_, member0_.zipcode as zipcode4_2_, member0_.name as name5_2_ from member member0_ where member0_.name=? select member0_.member_id as member_i1_2_, member0_.city as city2_2_, member0_.street as street3_2_, member0_.zipcode as zipcode4_2_, member0_.name as name5_2_ from member member0_ where member0_.name='kim'; 2021-06-07 05:47:03.219 DEBUG 9712 --- [ main] org.hibernate.SQL : call next value for hibernate_sequence 2021-06-07 05:47:03.220 INFO 9712 --- [ main] p6spy : #1623012423220 | took 0ms | statement | connection 4| url jdbc:h2:mem:787fed49-3533-4ca4-b5e2-6e76bef929f6 call next value for hibernate_sequence call next value for hibernate_sequence; 2021-06-07 05:47:03.281 DEBUG 9712 --- [ main] org.hibernate.SQL : call next value for hibernate_sequence 2021-06-07 05:47:03.282 INFO 9712 --- [ main] p6spy : #1623012423282 | took 0ms | statement | connection 4| url jdbc:h2:mem:787fed49-3533-4ca4-b5e2-6e76bef929f6 call next value for hibernate_sequence call next value for hibernate_sequence; 2021-06-07 05:47:03.365 INFO 9712 --- [ main] p6spy : #1623012423365 | took 0ms | rollback | connection 4| url jdbc:h2:mem:787fed49-3533-4ca4-b5e2-6e76bef929f6 ; 2021-06-07 05:47:03.377 INFO 9712 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@3f67593e testClass = OrderServiceTest, testInstance = jpabook.jpashop.service.OrderServiceTest@17541204, testMethod = 상품주문@OrderServiceTest, testException = org.springframework.dao.InvalidDataAccessApiUsageException: id to load is required for loading; nested exception is java.lang.IllegalArgumentException: id to load is required for loading, mergedContextConfiguration = [WebMergedContextConfiguration@1ab06251 testClass = OrderServiceTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@394df057, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6ab778a, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@58ea606c, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@63070bab, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3098cf3b, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@1189dd52], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] org.springframework.dao.InvalidDataAccessApiUsageException: id to load is required for loading; nested exception is java.lang.IllegalArgumentException: id to load is required for loading at org.springframework.orm.jpa.EntityManagerFactoryUtils.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:374) at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:235) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:551) at org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:61) at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:242) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:152) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at jpabook.jpashop.repository.ItemRepository$$EnhancerBySpringCGLIB$$18b1a0a2.findOne(<generated>) at jpabook.jpashop.service.OrderService.order(OrderService.java:32) at jpabook.jpashop.service.OrderService$$FastClassBySpringCGLIB$$ad373727.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:692) at jpabook.jpashop.service.OrderService$$EnhancerBySpringCGLIB$$da7a4323.order(<generated>) at jpabook.jpashop.service.OrderServiceTest.상품주문(OrderServiceTest.java:64) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53) Caused by: java.lang.IllegalArgumentException: id to load is required for loading at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:96) at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:64) at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.doLoad(SessionImpl.java:2783) at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.lambda$load$1(SessionImpl.java:2767) at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.perform(SessionImpl.java:2723) at org.hibernate.internal.SessionImpl$IdentifierLoadAccessImpl.load(SessionImpl.java:2767) at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3322) at org.hibernate.internal.SessionImpl.find(SessionImpl.java:3284) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:311) at com.sun.proxy.$Proxy96.find(Unknown Source) at jpabook.jpashop.repository.ItemRepository.findOne(ItemRepository.java:26) at jpabook.jpashop.repository.ItemRepository$$FastClassBySpringCGLIB$$dc3fed7a.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:779) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:750) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ... 48 more
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
예제는 맞앗는데,채점시스템 오답으로 나오네요.ㅠㅠ 코드리뷰한번만 부탁드리겠습니다.
import java.util.*; public class Main{ public static void main(String[] args){ Scanner kb=new Scanner(System.in); int student,pos,len=kb.nextInt(), table[][] = new int[len][len],max=Integer.MIN_VALUE,currMax,answer=0; //입력받기 for(int i=0;i<len;i++)for(int j=0;j<len;j++)table[i][j]=kb.nextInt(); //찾기 for(int stdnum=0;stdnum<len;stdnum++){ //check배열을 만들어, 같은반이었던 학생은 true로 변경 boolean check[] = new boolean[len]; for(int grade=0;grade<len;grade++){ student=table[stdnum][grade]; pos=0; while(pos<len){ if(table[pos][grade]==student)check[pos]=true; pos++; } } //같은반이었던 학생 수 만큼 currMax에 더하며 카운트.. currMax=0; for(int i=0;i<len;i++)if(check[i])currMax++; //currMax가 기존Max보다 크면 answer(반장번호)변경; if(currMax>max){ max=currMax; answer=stdnum+1; } } System.out.println(answer); }; };
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
JavaScript heap out of memory 문제
안녕하세요 제로초님 노드버드 후 새로운 프로젝트 중 갑자기 메모리 에러가 발생하여 구글링 해봐두 원인을 알 수 가 없어서 이렇게 도움을 요청합니다ㅜ https://github.com/wdudtlrw78/devlog
-
미해결스프링 핵심 원리 - 기본편
용어 질문드립니다.
회원 도메인, 주문과 할인 도메인 설계 등등 여기서 '도메인' 이라는 단어는 어떤 의미를 가지고 있나요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
ubuntu에서 도커 설치는 왜 복잡한가요?
다른 강의에서 도커 설치를 하는 것을 보고 갑자기 궁금해서 질문드립니다. centos 환경에서 도커설치시 yum install docker 이렇게 간단하게 설치하던데 ubuntu도 그냥 sudo apt-get install docker 이렇게 안하고 강의처럼 복잡?하게 설치하는 이유가 있을까요?
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
ItemServiceImpl.java 클래스를 만들지 않은 이유
강사님 안녕하세요, 강의를 듣다 궁금한 점이 있어서 글 올립니다. 보통 ItemService 같은 서비스 클래스는 구현체를 만드는 것으로 알고 있는데, 혹시 강의처럼 ItemServiceImpl 클래스를 안만들고 바로 구현해도 크게 문제되지는 않는건지 궁금합니다. (JPA라서 그런건지 아니면 예제이기 때문에 단순화 시키신건지 등 ..) 답변 부탁드리겠습니다! 감사합니다!!
-
해결됨[React 1부] 만들고 비교하며 학습하는 React
handleChangeInput에서 handleReset함수를 return하는 이유가 궁금합니다.
handleChangeInput 함수에서 handleReset 함수를 실행하는 것은 이해가 되는데요. 왜 return 구문을 쓰신건지 잘 모르겠습니다 ^^;; handleChangeInput 함수 자체도 별도의 return을 해주는 것이 없는것 같아서요. handleChangeInput(e) { const searchKeyword = e.target.value; if (searchKeyword.length <= 0) { return this.handleReset(); // 이 부분 입니다! } this.setState({ searchKeyword }); }
-
미해결예제로 배우는 스프링 입문 (개정판)
maven plugin 에러
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28.021 s [INFO] Finished at: 2021-06-06T23:21:18+09:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project spring-petclinic: There are test failures. [ERROR] [ERROR] Please refer to C:\Users\User\JavaProject\spring-petclinic\target\surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-16\bin\java" -javaagent:C:\\Users\\User\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-run time.jar=destfile=C:\\Users\\User\\JavaProject\\spring-petclinic\\target\\jacoco.exec -jar C:\Users\User\AppData\Local\Temp\surefire13409109640807335750\surefirebooter17835205775616496 159.jar C:\Users\User\AppData\Local\Temp\surefire13409109640807335750 2021-06-06T23-21-16_829-jvmRun1 surefire6151291350789010891tmp surefire_012945399030963262607tmp" [ERROR] Error occurred in starting fork, check output in log [ERROR] Process Exit Code: 1 [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-16\bin\java" -javaagent:C:\\Users\\User\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.5\\org.jacoco.agent-0.8.5-run time.jar=destfile=C:\\Users\\User\\JavaProject\\spring-petclinic\\target\\jacoco.exec -jar C:\Users\User\AppData\Local\Temp\surefire13409109640807335750\surefirebooter17835205775616496 159.jar C:\Users\User\AppData\Local\Temp\surefire13409109640807335750 2021-06-06T23-21-16_829-jvmRun1 surefire6151291350789010891tmp surefire_012945399030963262607tmp" [ERROR] Error occurred in starting fork, check output in log [ERROR] Process Exit Code: 1 [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:282) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:567) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:567) [ERROR] at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39) [ERROR] at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122) [ERROR] at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:61) [ERROR] [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 안녕하세요. 프로젝트를 git clone한 뒤 mvnw package 명령어를 실행했는데 다음과 같은 에러가 발생했네요. JDK16버전을 지원을 하지 않나해서 JDK 11로 재설정하고 재실행했는데도 동일한 에러가 발생하네요.
-
미해결Do it! 자바 프로그래밍 입문 with 은종쌤
이해가 잘 안가서요ㅠㅠ
굳이 여기서 빨간 박스 퍼블릭 스태틱을 만드는 이유가 뭔가요?? sum 값은 위 대로만 해도 40이 나오는데ㅠㅠ....
-
미해결눈떠보니 코딩테스트 전날
[긴급질문]노션접근권한..........
수업자료에 있는 링크는 만료되었고.. 어떤분이 질문해주신 글에서 노션링크를 알려주셨길래 들어갔는데 접근권한이 없는지 목차만 보이고 수업자료를 볼수가 없네요... 어쩌죠 아.. 불편하네요
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
이 강의 들으면서 프로그래머스 1~2단계 풀려고합니다. (코딩테스트준비)
안녕하세요! 기본문제는 직접풀고 강의까지 들었습니다! 이번에 자료구조, 알고리즘을 공부한지 얼마 안됬는데, 코딩테스트 까지 얼마 남지 않았습니다.(3주~한달) 테스트는 프로그래머스로 진행된다고하는데,테스트 난이도가 프로그래머스 1~2 정도라고합니다. 어떤식으로 공부를 진행해야 빠르게 준비 할수 있을까요!! 강의를 먼저 들으면서, 각 강의에 해당되는 주제를 프로그래머스 문제에서 찾아서 푸려고하는데;; 개념 공부도 따로 해야하겠죠?ㅠㅠ 조언 부탁드립니다...
-
미해결딥러닝 CNN 완벽 가이드 - TFKeras 버전
섹션3에서 fashion-mnist 데이터셋이 로드되지 않습니다.
해당 강의에서 다음 코드를 수행하였습니다. from tensorflow.keras.datasets import fashion_mnist # 전체 6만개 데이터 중, 5만개는 학습 데이터용, 1만개는 테스트 데이터용으로 분리 (train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data() 하지만 아래와 같은 에러(exception) 이 발생하였고, 다음 셀 역시 수행되지 않습니다. 이런 경우 어떻게 대처해야할지 알려주시면 감사하겠습니다. --------------------------------------------------------------------------- gaierror Traceback (most recent call last) /opt/conda/lib/python3.7/urllib/request.py in do_open(self, http_class, req, **http_conn_args) 1349 h.request(req.get_method(), req.selector, req.data, headers, -> 1350 encode_chunked=req.has_header('Transfer-encoding')) 1351 except OSError as err: # timeout error /opt/conda/lib/python3.7/http/client.py in request(self, method, url, body, headers, encode_chunked) 1276 """Send a complete request to the server.""" -> 1277 self._send_request(method, url, body, headers, encode_chunked) 1278 /opt/conda/lib/python3.7/http/client.py in _send_request(self, method, url, body, headers, encode_chunked) 1322 body = _encode(body, 'body') -> 1323 self.endheaders(body, encode_chunked=encode_chunked) 1324 /opt/conda/lib/python3.7/http/client.py in endheaders(self, message_body, encode_chunked) 1271 raise CannotSendHeader() -> 1272 self._send_output(message_body, encode_chunked=encode_chunked) 1273 /opt/conda/lib/python3.7/http/client.py in _send_output(self, message_body, encode_chunked) 1031 del self._buffer[:] -> 1032 self.send(msg) 1033 /opt/conda/lib/python3.7/http/client.py in send(self, data) 971 if self.auto_open: --> 972 self.connect() 973 else: /opt/conda/lib/python3.7/http/client.py in connect(self) 1438 -> 1439 super().connect() 1440 /opt/conda/lib/python3.7/http/client.py in connect(self) 943 self.sock = self._create_connection( --> 944 (self.host,self.port), self.timeout, self.source_address) 945 self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1) /opt/conda/lib/python3.7/socket.py in create_connection(address, timeout, source_address) 706 err = None --> 707 for res in getaddrinfo(host, port, 0, SOCK_STREAM): 708 af, socktype, proto, canonname, sa = res /opt/conda/lib/python3.7/socket.py in getaddrinfo(host, port, family, type, proto, flags) 751 addrlist = [] --> 752 for res in _socket.getaddrinfo(host, port, family, type, proto, flags): 753 af, socktype, proto, canonname, sa = res gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: URLError Traceback (most recent call last) /opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/utils/data_utils.py in get_file(fname, origin, untar, md5_hash, file_hash, cache_subdir, hash_algorithm, extract, archive_format, cache_dir) 274 try: --> 275 urlretrieve(origin, fpath, dl_progress) 276 except HTTPError as e: /opt/conda/lib/python3.7/urllib/request.py in urlretrieve(url, filename, reporthook, data) 246 --> 247 with contextlib.closing(urlopen(url, data)) as fp: 248 headers = fp.info() /opt/conda/lib/python3.7/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context) 221 opener = _opener --> 222 return opener.open(url, data, timeout) 223 /opt/conda/lib/python3.7/urllib/request.py in open(self, fullurl, data, timeout) 524 --> 525 response = self._open(req, data) 526 /opt/conda/lib/python3.7/urllib/request.py in _open(self, req, data) 542 result = self._call_chain(self.handle_open, protocol, protocol + --> 543 '_open', req) 544 if result: /opt/conda/lib/python3.7/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args) 502 func = getattr(handler, meth_name) --> 503 result = func(*args) 504 if result is not None: /opt/conda/lib/python3.7/urllib/request.py in https_open(self, req) 1392 return self.do_open(http.client.HTTPSConnection, req, -> 1393 context=self._context, check_hostname=self._check_hostname) 1394 /opt/conda/lib/python3.7/urllib/request.py in do_open(self, http_class, req, **http_conn_args) 1351 except OSError as err: # timeout error -> 1352 raise URLError(err) 1353 r = h.getresponse() URLError: <urlopen error [Errno -3] Temporary failure in name resolution> During handling of the above exception, another exception occurred: Exception Traceback (most recent call last) <ipython-input-26-8cfb83a588da> in <module> 3 4 # 전체 6만개 데이터 중, 5만개는 학습 데이터용, 1만개는 테스트 데이터용으로 분리 ----> 5 (train_images, train_labels), (test_images, test_labels) = fashion_mnist.load_data() 6 7 # image size는 28x28의 grayscale 2차원 데이터 /opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/datasets/fashion_mnist.py in load_data() 73 paths = [] 74 for fname in files: ---> 75 paths.append(get_file(fname, origin=base + fname, cache_subdir=dirname)) 76 77 with gzip.open(paths[0], 'rb') as lbpath: /opt/conda/lib/python3.7/site-packages/tensorflow/python/keras/utils/data_utils.py in get_file(fname, origin, untar, md5_hash, file_hash, cache_subdir, hash_algorithm, extract, archive_format, cache_dir) 277 raise Exception(error_msg.format(origin, e.code, e.msg)) 278 except URLError as e: --> 279 raise Exception(error_msg.format(origin, e.errno, e.reason)) 280 except (Exception, KeyboardInterrupt) as e: 281 if os.path.exists(fpath): Exception: URL fetch failure on https://storage.googleapis.com/tensorflow/tf-keras-datasets/train-labels-idx1-ubyte.gz: None -- [Errno -3] Temporary failure in name resolution
-
미해결초보를 위한 쿠버네티스 안내서
minikube version 하면 systax error가 있다고 나옵니다
강의를 따라 도커 설치, minikube 설치 후 minikube version 명령어로 설치가 잘 되었나 확인했는데 "/usr/local/bin/minikube: line 1: syntax error near unexpected token '<' " 에러가 납니다 어떻게 해결하면 좋을지 잘 모르겠습니다. (vm ubuntu 20.04 버전 사용중입니다.)
-
미해결디지털 포렌식 (Digital Forensic) 전문가 과정
vol 파일 실행오류
Volatility Foundation Volatility Framework 2.4 *** Failed to import volatility.plugins.registry.dumpregistry (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.malware.svcscan (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.registry.lsadump (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로 그램이 아닙니다.) *** Failed to import volatility.plugins.apihooksdeep (NameError: name 'distorm3' is not defined) *** Failed to import volatility.plugins.registry.shellbags (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프 로그램이 아닙니다.) *** Failed to import volatility.plugins.registry.auditpol (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.ssdt (NameError: name 'distorm3' is not defined) *** Failed to import volatility.plugins.registry.registryapi (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.trustrecords (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램 이 아닙니다.) *** Failed to import volatility.plugins.mac.apihooks (ImportError: Error loading the diStorm dynamic library (or cannot load library into process).) *** Failed to import volatility.plugins.envars (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.registry.userassist (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.chromehistory (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.evtlogs (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아 닙니다.) *** Failed to import volatility.plugins.uninstallinfo (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.malware.threads (NameError: name 'distorm3' is not defined) *** Failed to import volatility.plugins.mac.apihooks_kernel (ImportError: Error loading the diStorm dynamic library (or cannot load library into process).) *** Failed to import volatility.plugins.getservicesids (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그 램이 아닙니다.) *** Failed to import volatility.plugins.mimikatz (ImportError: No module named construct) *** Failed to import volatility.plugins.registry.shimcache (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프 로그램이 아닙니다.) *** Failed to import volatility.plugins.linux.netscan (ImportError: No module named yara) *** Failed to import volatility.plugins.timeliner (ImportError: DLL load failed: %1은(는) 올바른 Win32 응용 프로그램이 아닙니다.) *** Failed to import volatility.plugins.malware.apihooks (NameError: name 'distorm3' is not defined) 이런 문구들이 반복적으로 나오면서 vol.py 가 꺼짐니다 어떻게 해결해야 하나요?
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
일대다 양방향
안녕하세요 개인적으로 궁금한게 있어서 질문드립니다 ! 일대다 양방향을 위하여 보여주신 --> @JoinColumn(name ="TEAM_ID",insertable = false , updatable = false) 방법으로 실무에서 실제로도 많이 쓰이나요 !?