diff --git a/chapter-07/section-10-rxjava2-jdbc/src/main/java/org/rpis5/chapters/chapter_07/rxjava2jdbc/wallet/WalletServiceImpl.java b/chapter-07/section-10-rxjava2-jdbc/src/main/java/org/rpis5/chapters/chapter_07/rxjava2jdbc/wallet/WalletServiceImpl.java index 697c360..47383e1 100644 --- a/chapter-07/section-10-rxjava2-jdbc/src/main/java/org/rpis5/chapters/chapter_07/rxjava2jdbc/wallet/WalletServiceImpl.java +++ b/chapter-07/section-10-rxjava2-jdbc/src/main/java/org/rpis5/chapters/chapter_07/rxjava2jdbc/wallet/WalletServiceImpl.java @@ -12,7 +12,7 @@ import java.util.Arrays; import java.util.Comparator; - +import org.springframework.stereotype.Service; import static java.lang.String.format; /** @@ -20,6 +20,7 @@ * Transactions are too hard for rxjava2-jdbc :-( */ @Slf4j +@Service public class WalletServiceImpl implements WalletService { public static final String SELECT_BY_OWNER = "select id, owner, balance, deposits, withdraws from wallet where owner=:owner";