構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
Cesar Quinteiro
LIferay 6.0 + ICEFaces 2.0 + Hibernate 3.0
2011/10/18 5:47
答え

Cesar Quinteiro

ランク: Junior Member

投稿: 32

参加年月日: 2011/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