Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#39 서비스 CompletableFuture 추가, 정적메소드네이밍 #40

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kimsuyeondev
Copy link
Collaborator

No description provided.

@@ -73,13 +73,6 @@ select * from pv_goods;
select * from pv_item;
select * from pv_goods where goods_no =1;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gradle ci 에서 걸려서 수정한 것으로 넘어가시면됩니다.

log.error("GoodsService Thread = {}", Thread.currentThread().getName());
GoodsManagementEntity goodsManagementEntity = goodsRepository.findByGoodsNo(goodsNo).orElseThrow(() -> new IllegalArgumentException("상품이 존재하지 않습니다."));
return GoodsManagement.fromEntity(goodsManagementEntity);
});
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"failed to lazily initialize a collection of role: com.cosmetics.domain.goods.entity.GoodsManagementEntity.items: could not initialize proxy - no Session"
비동기 프로그래밍으로 바꾼 뒤 상품조회에서 오류가 발생하였습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant