From 3dc5ebb7746b04a3e4bdd3e45fe9546a0d03fcbb Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Wed, 19 Sep 2018 10:28:34 +0100 Subject: [PATCH] Added persist to TutorDao. --- .../src/main/java/uk/co/neviyn/Observations/dao/TutorDao.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/main/java/uk/co/neviyn/Observations/dao/TutorDao.java b/backend/src/main/java/uk/co/neviyn/Observations/dao/TutorDao.java index a988dc1..8e1fd7b 100644 --- a/backend/src/main/java/uk/co/neviyn/Observations/dao/TutorDao.java +++ b/backend/src/main/java/uk/co/neviyn/Observations/dao/TutorDao.java @@ -18,4 +18,8 @@ public class TutorDao extends AbstractDAO { public List listAll(){ return list(criteriaQuery()); } + + public Tutor persist(Tutor tutor){ + return super.persist(tutor); + } }