Added hibernate-entitymanager and spring-orm to maven
dependencies
Added mysql connector to maven dependencies
Added commons-dbcp2 to maven dependencies
Added jdbc.property file with connection info
Added spring-persistence.xml config file with configured
data source (dbcp2) and sessionFactory (LocalSessionFactoryBean)
Added forgotten Tag domain class stub;
Added scaning og Tag class to spring-persistence.xml
Fixed: spring-persistence.xml connected to other config files
Added properties and getters\setters for all domain classes
Added hibernate mapping (using persistence annotation) for
all domain classes
Link tables replaced with link classes (UserCommentMark,
UserPostMark)
Added link classes to scaned files in spring-persistence.xml;
Configured hibernate for auto-creating database schema using domain classes
Dao classes extends Spring HibernateDaoSupport
Declared Dao beans with injected SessionFactory