Skip to content

Commit

Permalink
UMC-EWHA#31 Feat : Add Transactional
Browse files Browse the repository at this point in the history
  • Loading branch information
choiyounji committed Nov 19, 2022
1 parent 4a58126 commit ee8855a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified bin/main/com/umc/week6/model/PostService.class
Binary file not shown.
6 changes: 4 additions & 2 deletions src/main/java/com/umc/week6/model/PostService.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
import com.umc.week6.model.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
@Service
public class PostService {
@Autowired
Expand Down

0 comments on commit ee8855a

Please sign in to comment.