Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlline seems to hang when using H2 db #41

Closed
patduin opened this issue Apr 29, 2016 · 3 comments
Closed

sqlline seems to hang when using H2 db #41

patduin opened this issue Apr 29, 2016 · 3 comments

Comments

@patduin
Copy link

patduin commented Apr 29, 2016

Hi,

I've been trying to sqlline with the h2 db. (We got it working fine using the old sqlline-1_0_2.jar.)
My setup a folder with:
Driver: h2-1.4.191.jar
sqlline: sqlline-1.1.9-jar-with-dependencies.jar

I startup sqlline like so: java -Djava.ext.dirs=. -jar sqlline-1.1.9-jar-with-dependencies.jar sqline.Sqlline
Give it the connection string and it connects fine but has problems when running commands:
I can do '!dbinfo'
But commands like '!tables', or 'show schemas;'. Hangs the cli, I have to manually kill it.

I've attached a jstack -F output. But it doesn't tell me much. Perhaps someone else has an idea?

jstack.out.zip

Many thanks,
Patrick

@julianhyde
Copy link
Owner

Fixed in 43b6c79.

@patduin
Copy link
Author

patduin commented Apr 30, 2016

Wow fast fix!. It works like a charm now, thanks. If there is a release planned anytime soon that would be amazing :)

@julianhyde
Copy link
Owner

Probably no release until we have a few more issues fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants