struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Navjot Singh <navjo...@net4india.net>
Subject Re: EXTERNALIZE SQL QUERIES
Date Wed, 07 Jul 2004 14:34:58 GMT
look into ibatis, hibernate, torque .... on and on


> -----Original Message-----
> From: Shailender Jain [mailto:shailender.jain@teleatlas.com] 
> Sent: 07 July 2004 04:48
> To: user@struts.apache.org
> Subject: EXTERNALIZE SQL QUERIES
> 
> Hi,
> 
> I am using struts framework for the development of my application.
> I want to externalize the  sql queries written in my application to an
> xml file.
> 
> For e.g. if i have got a query
> insert into employee (id, name) values (1, 'shailender');
> 
> This should be written in xml as
> insert into employee (id, name) values ($id, $name);
> 
> Where id and name are variables in the application of type int and
> string.
> 
> Also if the id and name are arrays then it should insert all the values.
> 
> Is there any api available for doing this without putting much effort in
> learning the api.
> 
> 
> 
> Regards
> Shailender Jain
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> .
> 

-- 
regards
Navjot Singh

If I'm over the hill, why is it I don't recall ever being on top?
-- Jerry Muscha

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message