ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vinays84 <vinay...@hotmail.com>
Subject Re: New to iBatis
Date Fri, 15 Jun 2007 19:12:22 GMT

Just as only a single object can be passed in for the return class, can only
a single object be passed in for a parameter class? Consider the query:

SELECT movie_name FROM movies WHERE release_date between #value1# AND
#value2#

Could I pass in two dates as parameters, or would I have to create a class
containing value1 and value2 as properties. (this class obviously would be
created solely for this one query).
-- 
View this message in context: http://www.nabble.com/New-to-iBatis-tf3922862.html#a11145189
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message