@Autowired
ArticleDao articleDao;
@Test
@Transactional
public void contextLoads() {
Article article=new Article();
article=articleDao.getOneById(1L);
System.out.println(article);
}
@Autowired
ArticleDao articleDao;
@Test
@Transactional
public void contextLoads() {
Article article=new Article();
article=articleDao.getOneById(1L);
System.out.println(article);
}