Huh, turns out.. until v1.4.196, whatever you fill in for 'Driver' is ignored. Starting with v1.4.197 it no longer is: You do have to put 'org.postgresql.Driver' in there now. Until 196 leaving the default 'org.h2.Driver' in there didn't stop you from connecting to psql dbs, now it does. I'll stick to the github issue for further insights.
On Saturday, February 9, 2019 at 6:06:06 PM UTC+1, Reinier Zwitserloot wrote: > > Filed it here: https://github.com/h2database/h2database/issues/1730 > > On Saturday, February 9, 2019 at 5:59:21 PM UTC+1, Reinier Zwitserloot > wrote: >> >> I'm trying to use the console to connect to a PSQL database. However, the >> left sidebar (That normally shows the available tables) shows a red box >> with the text 'null'. Running any query, even 'HELP;' will show the same >> red box in the query result area (bottom right). >> >> Nevertheless, if I start an in-memory embedded H2 database session and >> create a linked table to psql with the exact same JDBC connection string, >> username, and password as I try to fill in in the session screen, that does >> work. >> >> There is no output other than 'null' anywhere to be found, no logs, and >> no output to System.out to look at. >> >> Going from versions at: >> https://search.maven.org/search?q=g:com.h2database%20AND%20a:h2&core=gav >> >> 1.4.196 works fine. 1.4.197 has the above broken behaviour. >> >> Is this the right place to file bugs? >> >> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
