We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 509f6b6 commit 45d2701Copy full SHA for 45d2701
1 file changed
example/PaymentDao.java
@@ -0,0 +1,31 @@
1
+public class PaymentDao {
2
+
3
+ private static final Logger logger = LoggerFactory.getLogger(PaymentDao.class);
4
5
+ private final Session session;
6
7
+ public PaymentDao(Session session) {
8
+ this.session = session;
9
+ }
10
11
+ /**
12
+ * Saves payment in the database.
13
+ * @param payment the payment to save
14
+ */
15
+ public void save(Payment payment) {
16
17
18
19
20
+ * Updates payment in the database
21
+ * @param payment
22
23
+ public void update(Payment payment) {
24
25
26
+ public Payment get(String id) {
27
28
29
+ public void delete(Payment payment) {
30
31
+}
0 commit comments