[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit

nharrison do-not-reply at jboss.com
Thu Nov 15 04:03:03 EST 2007


Ahh.  I had no joy with the generated class used for object list and search.  This class, SApplicationsListEntityQuery is a subclass of "EntityQuery" from the seam framework.   It did not work for me but I was able to get a list of data after configuring an equivalent type in "component.xml"  ie

	<framework:entity-query name="sApplicationList"
		ejbql="select app from SApplication app" 
		order="shipmentCode">
		 
		<framework:restrictions>

			lower(app.shipmentCode) like lower(concat(#{applicationSrch.shipmentCode},'%') )
			lower(app.region) like lower(concat(#{applicationSrch.region},'%') )
			lower(app.country) like lower(concat(#{applicationSrch.country},'%') )
			lower(app.contactPerson) like lower(concat(#{applicationSrch.contactPerson},'%') )
			lower(app.status) like lower(concat(#{applicationSrch.status},'%') )

		</framework:restrictions>

	</framework:entity-query>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104880#4104880

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104880



More information about the jboss-user mailing list