Hi,

we have been using h2 in our project and it has been working very
well. However, in one Windows Vista machine (home edition, 1GB of
memory) there has been some strange problems.

We use h2 with hibernate, and we have a class which has the following
field:

public class Data {

  @Column(nullable=true)
  @Lob
  private byte[] imageData;

}

We create a connection to the database using the following connection
string: jdbc:h2:~/Application/local/localDB, so that the database is
created in user home directory. After connection is created, we try to
fetch all Data classes. In this one Vista machine the following error
occurs, usually after reboot (our application is automatically started
on Windows start up):

SQL Error: 90062, SQLState: 90062
Error while creating file "C:\Program Files\Application\startup
\.lobs.db" [90062-132]
SQL Error: 90067, SQLState: 90067
Connection is broken: "unexpected status -555469361" [90067-132]

When application is closed and started again, everything works ok.
However, there appears to be .lobs.db under Program Files\Application
folder.

We cannot figure out what is causing this behavior. All other XP and
Vista machines works well, but they are never with more memory and
faster processors.

I wonder why this .lobs.db is written under Program Files and not in
the user home directory, where the database is located?

Unfortunately this problem occurs only in this one computer, so this
might be hard to reproduce...

Thanks in advance, Jussi

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to h2-datab...@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to