Hi,

i would like to get assistance we are now using H2 data base version
h2-1.2.123.
we have entered 10402 sale bill each sale bill contains individual
entry of 4 to 10 products and the entry is spread over 30 days. now
when we try to connect to h2 database using NetBeans IDE 6.0 the
attached error is generated.


H2 Database URLs
Embedded

The URL jdbc:h2:~/test means the database is stored in the user home
directory in files starting with 'test'. Absolute locations like
jdbc:h2:/data/db/test are supported. In embedded mode, the database
runs in the same process as the application. Only one process may
access a database at any time. Databases are automatically created if
they don't exist. Warning: if no path is used (for example
jdbc:h2:test), then the database is stored in the current working
directory (the directory where the application was started). URLs of
the form jdbc:h2:data/test are relative to the current working
directory. It is recommended to use locations relative to ~ or
absolute locations.
Remote (client/server)

The URL jdbc:h2:tcp://localhost/~/test means connect over TCP/IP to
the H2 TCP server running on this computer, and open a database called
test in the user home directory. The server must be started first. Any
number of clients can connect to the same database. The same location
rules as for embedded databases apply.
In-Memory

The URL jdbc:h2:mem:test means open an in-memory database named
'test'. Data is not persisted, and lost when the last connection to
the database is closed. Multiple threads can access the same database,
but data is only visible within the same process.

For more information, see Database URL Overview.

General error: "java.lang.ClassCastException:
org.h2.store.PageStreamData cannot be cast to
org.h2.index.PageData" [50000-123] HY000/50000 (Help)


Prakash

--

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


Reply via email to