db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: No changes applied in Java? Cant find it in derby tools.
Date Tue, 19 May 2009 16:27:47 GMT
MarcelK1607 wrote:
> i've written some java code to connect and update a small test database.
> I create a table in Java code, but when i look into my database there is
> nothing there.
Hi Marcel,

Are you saying that the table is created but that it disappears after 
you exit the program? Have you changed the autocommit state of the 
connection? It may be that your table-creating transaction is rolled 
back when you exit.

Hope this helps,
> There seems to be some difference in between connecting in Java and using
> the CLI.
> Any tips / pointers on how to tackle this?
> I am using the embedded jdbc driver.

View raw message