2. 엔티티 매핑(entity mapping) 2 2 엔티티매핑 2-2-4. 식별자 자동 생성(@generated-value)…

8. UserServiceImpl.java 
package com.example.service; 
  
import java.util.List; 
  
import org.springframework.beans.factory.annotation.Autowired; 
import org.springframework.stereotype.Service; 
  
import com.example.model.User; 
import com.example.repository.UserRepository; 
  
@Service 
public class UserServiceImpl implements UserService {  

Comments