I want to write a simple code with jsf,spring and hibernate for a
portlet to use it in liferay, that have a datagrid and aplication like
add.for this, i extend my DAO class from HibernateDaoSupport and write
in add metod:
getHibernateTemplate().persist(myEntity);
getHibernateTemplate().flush();
but my data change do'nt save in database. this code worked in project
that is not portlet.how can i do?