Re: Is it possible to call H2 from bash

2013-04-15 Thread Thomas Mueller
Hi, We might want to add a HTTP(S) interface, so you could use "curl" or "wget" to query the database. But this is not planned. Regards, Thomas On Mon, Apr 15, 2013 at 8:56 AM, Noel Grandin wrote: > > On 2013-04-14 21:06, Cecil Westerhof wrote: > >> >> I'll look into it. But in this way I sta

Re: Is it possible to call H2 from bash

2013-04-15 Thread Ryan How
Or you could try something like this https://github.com/flatland/drip On 15/04/2013 3:56 PM, Ryan How wrote: It would be like this for any java program you call from a bash script. I'm not sure if you can maybe start a postgres server in H2 and use a postrgres command line tool? Only other a

Re: Is it possible to call H2 from bash

2013-04-15 Thread Ryan How
It would be like this for any java program you call from a bash script. I'm not sure if you can maybe start a postgres server in H2 and use a postrgres command line tool? Only other alternative would be to write a little java daemon you could leave running which you could send commands to from

Re: Is it possible to call H2 from bash

2013-04-14 Thread Noel Grandin
On 2013-04-14 21:06, Cecil Westerhof wrote: I'll look into it. But in this way I start a jvm. That is quite expensive I think. There is not a better way? How exactly do you think H2 works? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. T

Re: Is it possible to call H2 from bash

2013-04-14 Thread Cecil Westerhof
2013/4/14 Cecil Westerhof > 2013/4/14 Noel Grandin > >> The Shell or the RunScript tool should do the job. >> >> http://h2database.com/html/tutorial.html#command_line_tools >> > > I'll look into it. But in this way I start a jvm. That is quite expensive > I think. There is not a better way? > I

Re: Is it possible to call H2 from bash

2013-04-14 Thread Cecil Westerhof
2013/4/14 Noel Grandin > The Shell or the RunScript tool should do the job. > > http://h2database.com/html/tutorial.html#command_line_tools > I'll look into it. But in this way I start a jvm. That is quite expensive I think. There is not a better way? -- Cecil Westerhof -- You received this

Re: Is it possible to call H2 from bash

2013-04-14 Thread Noel Grandin
The Shell or the RunScript tool should do the job. http://h2database.com/html/tutorial.html#command_line_tools -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2

Is it possible to call H2 from bash

2013-04-14 Thread Cecil Westerhof
I have the web and tcp server running. From java (scala really) I make a connection with jdbc:h2:tcp://localhost/. Is it also possible to retrieve a query from a bash script? Like it can be done with mySQL. I could of-course call a java program, but this would have a lot of overhead. So I was wonde