Hỏi & Đáp
에러부분이 나서 진행이 안되네요... 의존성 문제인거 같기도한데
Did you create a class or interface for MemberRepository?
- Lượt thích
- 0
- Số bình luận
- 3
- Lượt xem
- 1857
Hỏi & Đáp
Did you create a class or interface for MemberRepository?
Hỏi & Đáp
It seems return type of the method findByid(Long id) should be Optional(Member).
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.
Hỏi & Đáp
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.
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.
Hỏi & Đáp
Please attach the error log.
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.
Hỏi & Đáp
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.
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.
Hỏi & Đáp
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.