db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: No changes applied in Java? Cant find it in derby tools.
Date Tue, 19 May 2009 16:39:12 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.
> There seems to be some difference in between connecting in Java and using
> the CLI.
> Any tips / pointers on how to tackle this?

Hi Marcel,

Just make sure you actually access the same database from your Java 
program and the CLI tool you are using. The easiest way is to use 
absolute paths in the connection URL, but there are other ways.


> I am using the embedded jdbc driver.

View raw message