I'm sorry! I'm so sorry! I just read a part of documentation that talks about the local connection. The "~" means the home directory.
Sorry and Thanks. On May 16, 2:13 am, Vinícius <[email protected]> wrote: > I used this string "jdbc:h2:~/VeiculosBD", I'm using Hibernate for the > connection. Well, I can solve the problem using other databases. With > HSQLDB and Derby works perfectly but with my beloved H2 is not > working. > > Thanks. > > On May 15, 7:37 pm, Anthony <[email protected]> wrote: > > > > > > > > > What connection string did you used to connect to H2 from your > > application? > > > Anthony > > > On May 14, 10:42 am, Vinícius <[email protected]> wrote: > > > > Hello people, I'm with a small problem in my application. I have a > > > application with H2 in embedded mode and I want that the application > > > run on a flash drive(pen drive). So far so god but I tried to run on > > > different computers and the data don't persist on the application. In > > > the truth the data persist but just the data the was added to each > > > computer. > > > > For example, I run the application on the first computer and add some > > > data but when a run on other computer the data don't appear and when I > > > come back to the first computer its list the data normally. > > > > Has this happened to anyone? How do I fix this? > > > Sorry for my English, I'm Brazilian. Thanks. -- 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.
