Hello. I want to fasten to the application DBMS H2. I downloaded the jar, put it in the root directory of the project. The information on working with H2 that I nagulit somehow not enough. There are methods for working with it, but the question is how to create a base in it, in addition to creating some small project and working through the console or Swing, and then transferring it into the existing one?
1 answer
Usually, with any embedded database, the work is done as follows:
We take some thread of a huge client for H2 to fry here , create a database, tables, indices, if necessary, and data. Transfer the database file to the project, then connect via JDBC or through Hibernate and work there
PS Doc on H2 seems to me more than enough
|