Re: Executing command from a file via JDBC

2007-05-15 Thread Raymond Kroeker
aniel John Debrunner <[EMAIL PROTECTED]> wrote: Jim Newsham wrote: > >> -Original Message- >> From: Bryan Pendleton [mailto:[EMAIL PROTECTED] >> Sent: Thursday, May 10, 2007 9:58 AM >> To: Derby Discussion >> Subject: Re: Executing command from a

Re: Executing command from a file via JDBC

2007-05-15 Thread Raymond Kroeker
: Derby Discussion > Subject: Re: Executing command from a file via JDBC > > > I didn't want to distribute derbytools.jar with my application. I guess > > was looking for something that came with the core jdbc driver. > > You could put something together yourself pretty easil

RE: Executing command from a file via JDBC

2007-05-14 Thread Jim Newsham
iscussion > Subject: Re: Executing command from a file via JDBC > > Jim Newsham wrote: > > > >> -Original Message- > >> From: Bryan Pendleton [mailto:[EMAIL PROTECTED] > >> Sent: Thursday, May 10, 2007 9:58 AM > >> To: Derby Discussion &g

Re: Executing command from a file via JDBC

2007-05-14 Thread Daniel John Debrunner
Jim Newsham wrote: -Original Message- From: Bryan Pendleton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 9:58 AM To: Derby Discussion Subject: Re: Executing command from a file via JDBC I didn't want to distribute derbytools.jar with my application. I guess was lookin

RE: Executing command from a file via JDBC

2007-05-14 Thread Jim Newsham
t would be guaranteed to parse correctly. > -Original Message- > From: Jim Newsham [mailto:[EMAIL PROTECTED] > Sent: Monday, May 14, 2007 5:22 PM > To: 'Derby Discussion' > Subject: RE: Executing command from a file via JDBC > > I had a need to run sql scr

RE: Executing command from a file via JDBC

2007-05-14 Thread Jim Newsham
> -Original Message- > From: Bryan Pendleton [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 10, 2007 9:58 AM > To: Derby Discussion > Subject: Re: Executing command from a file via JDBC > > > I didn't want to distribute derbytools.jar with my application.

Re: Executing command from a file via JDBC

2007-05-10 Thread Bryan Pendleton
I didn't want to distribute derbytools.jar with my application. I guess was looking for something that came with the core jdbc driver. You could put something together yourself pretty easily: BufferedReader rdr = ...; String sql; Statement stmt = conn.createStatement(); while ( (sql =

Re: Executing command from a file via JDBC

2007-05-10 Thread Raymond Kroeker
Hi Francois, Thanks for your response. That's similar to what I'm looking for but I didn't want to distribute derbytools.jar with my application. I guess was looking for something that came with the core jdbc driver. Ray On 5/10/07, Francois Orsini <[EMAIL PROTECTED]> wrote: You mean like

Re: Executing command from a file via JDBC

2007-05-10 Thread Francois Orsini
You mean like feeding some script(s) to IJ connected to a Derby instance: http://db.apache.org/derby/docs/dev/tools/tools-single.html#ttoolsij98878 Not sure if that's what you're asking for On 5/10/07, Raymond Kroeker <[EMAIL PROTECTED]> wrote: I was wondering if anyone knows of a way I ca