Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

spring and hibernate in portlet

  Asked By: Hamish    Date: Oct 20    Category: Java    Views: 1053
  

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?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on spring and hibernate in portlet Or get search suggestion and latest updates.




Tagged: