SQL « Struts « JPA Q&A





1. problem to get value in from my sql in struts 2    stackoverflow.com

I'm trying to get a value in a select box which is saved in a MySQL database. Here's my JSP:

<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sj" uri="/struts-jquery-tags" %>
<%@taglib prefix="sjg" uri="/struts-jquery-grid-tags" %>
<sj:head/>
<s:form theme="simple" ...

2. generate SQL Hibernate Query using session    struts.1045723.n5.nabble.com

Hi, By the way My query is below "select b.Name as brand,a.Name as eventname,c.Code,a.EventStartDate,a.EventEndDate,a.EventObjective,a.EventTyp e from ASSET a,Brand b,LPDCOUNTRY c where a.Brand=b.id and a.Country=c.id" It also says brand property not defined...Is there any syntax error...I couldn't find any Thanks in advance Many Thanks and Regards, Jerson From: Jerson John [mailto:[hidden email]] Sent: Friday, February 18, 2011 10:53 AM To: 'Struts ...