dao for comment and post entities created;
spring configured to work with JPA and JTA.