Yes, I abandoned Spring Portlet MVC replacing it with Liferay's own framework :-(
Type: Posts; User: msmolyak; Keyword(s):
Yes, I abandoned Spring Portlet MVC replacing it with Liferay's own framework :-(
Hello,
I am working on a portlet to be deployed in Liferay 6.0.5 container. The portlet uses Spring Portlet MVC annotations. Among other annotations, my controller uses
@ActionMapping(params...
Mark,
The problem with calling flush() is that the unit test is executed against the DAO interface for the Hibernate entity. This interface only exposes the CRUD methods for the entity. Is it...
Mark,
The problem is that the tests run using the transactional context succeed, while those using a non-transactional context fail because of violated foreign key constraints in the database. I...
Mark,
Thank you for the quick reply. The obvious question is whether this "side effect" invalidates the unit test by changing the behavior of the code being tested. Should I ignore the fact that...
Hello,
I observed some unexpected (to me at least) behavior of my unit test written as a subclass of org.springframework.test.AbstractTransactionalSpringContextTests. The test is designed to...