Menu

#6 2 sql queries in one method

1.0
open
None
Any
MANUELA
2013-02-19
2013-02-19
No

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.

Discussion


Log in to post a comment.

Auth0 Logo