掲示板

LIferay 6.0 + ICEFaces 2.0 + Hibernate 3.0

12年前 に Cesar Quinteiro によって更新されました。

LIferay 6.0 + ICEFaces 2.0 + Hibernate 3.0

Junior Member 投稿: 34 参加年月日: 11/10/18 最新の投稿
I am trying to create a ICEFaces porlet installed in a LIferay 3.0, with Hibernate 3.6 , first I try a sample from liferay web, with a “JSP-Portlet Hibernate” and works, then I made a “Icefaces Hibernate Project (tomcat 7)” and also works and finally I made a “Liferay/Icefaces Porlet/Hibernate” and works fine for reading data but not for saving, the code I use (in all cases) that I debug and know that is fire, is the following:
*********Code************
session.beginTransaction();
foodItem = (FoodItem)session.merge(foodItem);–> refresh data reading from DB
session.update(foodItem); —> Here nothing happens
session.getTransaction().commit();
**************************

regards