In the method delContactOfPerson(int id) of the ContactDao.class 2 sql queries are executed. This isn't good solution because we could not decide which query may throw an exception. Solution: Extract one query in separate method.
Log in to post a comment.