inflearn logo
Khóa học

Khóa học

Chia sẻ kiến thức

Bài viết của Sang-Uk Lee

Sang-Uk Lee Sang-Uk Lee

@pos236

Học viên
-
Đánh giá khóa học
-
Đánh giá khóa học
-

Bài viết 11

Hỏi & Đáp

안녕하세요

It seems return type of the method findByid(Long id) should be Optional(Member).

Lượt thích
0
Số bình luận
2
Lượt xem
616

Hỏi & Đáp

직접 만든 라이브러리의 경우 어떻게 배포 되는건가요?

We normally never include any built files - jar, war - in the source code repository like GitHub. Instead, we have a separate repository (e.g. Nexus) where the jar file is uploaded, so projects can just declare the dependency (e.g. pom.xml for maven) to download it.

Lượt thích
0
Số bình luận
2
Lượt xem
1141

Hỏi & Đáp

MemberService에 @Transactional 붙이는 이유

Though it is just a guess, in the pure jdbc example you might explicitly open/close transaction in the code. On JPA, same functionality is controlled by the Transactional annotation.

Lượt thích
0
Số bình luận
2
Lượt xem
801

Hỏi & Đáp

안녕하세요

API can be used by any agent - web, mobile or other systems. Reason it uses restApi is to simply return data only, as opposed to normal controller returns html element.

Lượt thích
0
Số bình luận
2
Lượt xem
371

Hỏi & Đáp

sql 에러

Please attach the error log.

Lượt thích
0
Số bình luận
2
Lượt xem
1173

Hỏi & Đáp

강사님 질문 있습니다!

In the first line, you can only access methods/variables defined in the Reportable interface. In the second line, you can access methods/variables defined in the FactoryCam class which could be larger than Reportable.

Lượt thích
0
Số bình luận
2
Lượt xem
604

Hỏi & Đáp

세션은 브라우저가 종료되면 sessionid를 제거한대요

When browser closes, the session id set in the ‘browser cookie’ is removed. It does not mean that session in the server is removed. However, after the certain amount of time, the session in the server will be also deleted as it wont be called anymore and hit the session max lifetime.

Lượt thích
0
Số bình luận
1
Lượt xem
1522

Hỏi & Đáp

상품 주문 시 주문 내역에 값이 들어가 있지 않습니다

Though I need more context to oroperly tackle this question, it is highly likely that orderSearch condition is set in a way query does not return the orders. Please check what is set and what is supposed to set in the orderSearch parameter.

Lượt thích
0
Số bình luận
2
Lượt xem
689

Hỏi & Đáp

MemberRepositoryTest 중 SQLGrammarException 에러 발생

2023-02-06 11:19:45.628 ERROR 10204 --- [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : Sequence "HIBERNATE_SEQUENCE" not found; SQL statement: The line above is the root cause of the problem. It seems the sequence is not created, so code errors out while expecting it to exist.

Lượt thích
0
Số bình luận
2
Lượt xem
1091