MCPcopy Index your code
hub / github.com/castello/spring_basic / write

Method write

ch4/CommentServiceImpl.java:41–47  ·  view source on GitHub ↗
(CommentDto commentDto)

Source from the content-addressed store, hash-verified

39 }
40
41 @Override
42 @Transactional(rollbackFor = Exception.class)
43 public int write(CommentDto commentDto) throws Exception {
44 boardDao.updateCommentCnt(commentDto.getBno(), 1);
45// throw new Exception("test");
46 return commentDao.insert(commentDto);
47 }
48
49 @Override
50 public List<CommentDto> getList(Integer bno) throws Exception {

Callers

nothing calls this directly

Calls 2

insertMethod · 0.65
getBnoMethod · 0.45

Tested by

no test coverage detected