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: data lost with ij
Date Fri, 30 Oct 2009 13:09:54 GMT
RAPPAZ Francois wrote:
> Using ij, I create a database, then I build a table and populate it with a serie of insert
statement. Without doing anything else I disconnect (that take a long time) and I exit.
>
> When I reconnect and run a select * from table; I got nothing in the table...
> If run that select statement after the inserts, the bug does not appear.
>
> Is this a known problem ?
>
> Fran├žois 
>   
Hi Fran├žois,

It sounds as though you are not committing your transaction before 
exiting. As part of an orderly exit, make sure that you do the following:

1) Commit your transaction

2) Shutdown the database

3) Then exit

Hope this helps,
-Rick

Mime
View raw message