JDBC was changed by Hibernate. DAO pattern is implemented.