Answer the question
In order to leave comments, you need to log in
How to distribute java program along with database?
I am writing a program in which users will store their data. I use a database to store data. How do I put a server (local) in the Java project directory so that the server starts up without being installed on the PC?
Answer the question
In order to leave comments, you need to log in
Good afternoon.
You can use h2 database. It can be embedded as well as saved to the file system. You can also look towards sqlite. Or you can use postgres embedded.
For the convenience of working with the selected database, use ORM (hibernate, ormlite, etc.)
SQL is not a "BD" but a language. DataBase is MS SQL Server, MySql, PostgreSql and more.
Yes, you can do it, but no one does it, because the collective farm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question