Hi, the db url is a dinamically string like this: String urlDb = "jdbc:h2:"+ dbFilePath+";IFEXISTS=TRUE;AUTO_SERVER=TRUE;" where dbFilePath is a absolute path of db file, for example: Z:\FOO\BAR\PATH\h2Db the db's path is chosen by FileChooser.
Il giorno mar 12 lug 2016 alle ore 12:16 Paul Erdos < [email protected]> ha scritto: > I didn't read anywhere in H2 documentation that this feature (Mixed Mode) >> works only with Linux/OS operating systems... >> > > Indeed it's not written anywhere, we use H2 database with multiple Windows > PC sharing a network hard disk where the database file is and the first > computer to launch the application accesses the file on the network drive > while others connect via TCP automatically. > > But I don't understand if this mode works only if the different >> applications run on the same machine >> > > this mode works for computers in different machines across a LAN network, > ottherwise it would be quite useless. > > If you could post the startup string for the database maybe I can have a > look at it. > > On Tuesday, July 12, 2016 at 10:21:05 AM UTC+2, Luigi Galati wrote: > >> Ok, I'll check it. Thank you! :) >> >> Il giorno mar 12 lug 2016 alle ore 10:10 Noel Grandin <[email protected]> >> ha scritto: >> > Ah sorry, I misread you original post. >>> >>> Something is weird in your network configuration - H2 is not picking up >>> the name of the machine that is currently >>> running the database correctly. >>> I would suggest checking your network and DNS settings. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "H2 Database" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/h2-database/2Yg2uYb4O7w/unsubscribe. >>> >> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To post to this group, send email to [email protected]. >> >> >>> Visit this group at https://groups.google.com/group/h2-database. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "H2 Database" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/h2-database/2Yg2uYb4O7w/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/h2-database. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
