'Create mybatis session object
what i'm about to do now I am trying to get information by calling a service made with Spring.
In the same project, I want to create a new controller and call an existing service. In the existing sql condition, wherfe usr_id = session.userId is like this.
The newly created controller has no session information because it is called from rest api. How do I provide a session object?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
