Re: [OT] SQL in XML file

2004-10-29 Thread Bent André Solheim
TECTED] > Sent: Thursday, October 28, 2004 4:29 AM > To: 'Struts Users Mailing List'; 'Peng Tuck Kwok' > Subject: RE: [OT] SQL in XML file > > Hello, > >I don't think hibernate does sql in a xml file . > >I think it's more of a mappin

RE: [OT] SQL in XML file

2004-10-28 Thread David G. Friedman
- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 4:29 AM To: 'Struts Users Mailing List'; 'Peng Tuck Kwok' Subject: RE: [OT] SQL in XML file Hello, >I don't think hibernate does sql in a xml file . >I think it's more of a

RE: [OT] SQL in XML file

2004-10-28 Thread Marco Mistroni
es it > For you (Hibernate for example), it will save you time :-) > > My 2 cents... > > Regards > marco > > -Original Message----- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] > Sent: 27 October 2004 18:02 > To: [EMAIL PROTECTED] > Subject: [O

Re: [OT] SQL in XML file

2004-10-28 Thread Peng Tuck Kwok
> My 2 cents... > > Regards > marco > > -Original Message- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] > Sent: 27 October 2004 18:02 > To: [EMAIL PROTECTED] > Subject: [OT] SQL in XML file > > Hi > Is there any code out there or any on

RE: [OT] SQL in XML file

2004-10-28 Thread Marco Mistroni
ni [mailto:[EMAIL PROTECTED] Sent: 27 October 2004 18:02 To: [EMAIL PROTECTED] Subject: [OT] SQL in XML file Hi Is there any code out there or any one worked on a framework, where we can define SQL statements in XML file and at runtime java program will read this XML file, build the SQL if prepared

RE: [OT] SQL in XML file

2004-10-27 Thread Ashish Kulkarni
id > > -----Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 1:58 PM > To: Struts Users Mailing List > Subject: RE: [OT] SQL in XML file > > > Hi > This is what i want to achieve by keeping the SQL > s

RE: [OT] SQL in XML file

2004-10-27 Thread David G. Friedman
I see it as Chapter 3.1 in my Hibernate(.org) v2.1.6 documentation. Regards, David -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 1:58 PM To: Struts Users Mailing List Subject: RE: [OT] SQL in XML file Hi This is what i want to achiev

RE: [OT] SQL in XML file

2004-10-27 Thread Ashish Kulkarni
hish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 1:02 PM > To: [EMAIL PROTECTED] > Subject: [OT] SQL in XML file > > > Hi > Is there any code out there or any one worked on a > framework, where we can define SQL statements in XML > file and

Re: [OT] SQL in XML file

2004-10-27 Thread Thompson Marzagao
It's not exacly what you're looking for, as it's meant for testing, but you might want to take a look at DBUnit. At least you can look at the source code: "DbUnit has the ability to export and import your database data to and from XML datasets" http://dbunit.sourceforge.net/ Thompson Ashish Ku

RE: [OT] SQL in XML file

2004-10-27 Thread David G. Friedman
parameters. Regards, David -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 1:02 PM To: [EMAIL PROTECTED] Subject: [OT] SQL in XML file Hi Is there any code out there or any one worked on a framework, where we can define SQL statements in XML f

RE: [OT] SQL in XML file

2004-10-27 Thread Robert Taylor
Look at iBatis. robert > -Original Message- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 1:02 PM > To: [EMAIL PROTECTED] > Subject: [OT] SQL in XML file > > > Hi > Is there any code out there or any one worked on

[OT] SQL in XML file

2004-10-27 Thread Ashish Kulkarni
Hi Is there any code out there or any one worked on a framework, where we can define SQL statements in XML file and at runtime java program will read this XML file, build the SQL if prepared statement and execute it and return a ResultSet What may be the points to be taken into consideration if i