I'd bet different connection URLs.

On 17 May 2016 at 21:30, <[email protected]> wrote:

> Hello,
>
>          I have tried connecting to H2 database using JDBC and execute a
> query for table creation and retried to create a new table using the same
> name and I got an error saying table "x " already exists. When I checked
> the H2 database, I didn't find any table created with such name but when I
> executed a query in Java for example "select * from x " the output is
> produced. So the table is created but not visible through the H2 console.
> How can it be possible?
>
> OS: Windows
> H2: 1.4.191
>
>
> code snippet:
>
> Class.forName("org.h2.Driver");
>             Connection
> conn=DriverManager.getConnection("jdbc:h2:~/test","Mahith","2108");
>             Statement st = conn.createStatement();
>
> Thank you!
>
> Regards,
> Arthus
>
>
> --
> 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.
>

-- 
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.

Reply via email to