Closed vatolinrp closed 6 years ago
it does not look good. please explain.
These methods need DAO for call SQL query. I can call the only fields with a query. I see it practise in manuals.
could you please give me a link to one of these manuals? This doesn't look right. Will you need this method outside DAO ? I guess - not. So what is the reason for exposing it?
looks better.
https://github.com/AliaksandrFiodarau3/MediaServer/blob/073c3c1cf3c4638d739c66df2d45ddea909b78c4/dao/src/main/java/com/epam/mediaserver/dao/ArtistDao.java#L19