struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gayan sukumal wiharagoda <>
Subject Problem with select quary
Date Mon, 07 May 2012 11:10:34 GMT
I am new to hibanate,Stuts and Tile. Now I want  to get selected
specified columns. I have mention the code below. It is not working.

List<SelelctItemList> list = new ArrayList<SelelctItemList>();
Query query = (Query) session.createQuery("select
from service_uses as su INNER JOIN stocks as s ON     su.item_id=s.item_id
where service_id="+ serviceId);
list = ((org.hibernate.Query) query).list();

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message