Renamed test spring beans (added test- prefix) to avoid conflicts
Added checkWriteOperations property for Dao's to permit write operations
Autowired Dao's into controllers
Added beans schema declaration in spring config files
(cherry-picked from 9cfc880)
Fixed spring-config.xml schema
Added missing mappedBy property in some OneToMany annotations
Added incoming- and outcomingMessages properties to User
Fixed: effects of refactoring...
Added additional constructors for Post class
Added additional constructors for Comment class
Added additional constructors for Message class
Added additional constructors for Tag class
Added additional constructors for User class
Added additional constructors for UserCommentMark class
Added additional constructors for UserPostMark class
Changed UserDaoTest to work to perform every test in transaction;
Changed UserDaoTest to use new constructors
Added marker interface DomainObject;
All domain classes implement DomainObject interface
Changed order of parameters in constructors of domain classes
Refactored Dao tests:
comparing of objects extracted to static method os new class
DomainObjectComparator;
Tests now use constructors of domain classes instead of setters;
Fixed some bug in tests;
Overridden equals, hashCode and toString methods for all domain classes.