It's good practice to use AOP for opening and closing DB connections? I want to use AOP in my DAO classes.
For example, inside method public User createUser(String name) I don't want to write code like Connection.open() and Connection.close(), I want to do it automatically, using aspects.