Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to develop application.which is offline(runs on single pc).Which database i should use so that when I create exe of my project it will automatically included in it.
It sounds like you're looking for an embedded database. Here is a thread on Java embedded databases. I use Apache Derby, mostly because it's easy to use with NetBeans.
You can look to the H2 database, no db server is needed!
http://www.h2database.com/html/main.html
You can use MS-Access. That works totally offline and you can include it in your project. It is also easy to work with MS-Access & Java.
Hope this helps.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there a tool for managing changes of OrientDB schemas?
I am familiar with Flyway, but it has no support for OrientDB, so it will be great if there is something similar you could recommend.
My requirements are below:
Written in Java
Can use native OrientDB API to execute queries (not only JDBC)
Can use Java based migrations (not only queries)
See this related feature request already added to the Flyway 5.2.0 milestone, but no ETA announced.
We're currently investigating contributing to this, as we'll need that exact feature.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm coding a Java application that needs a database. But the user of that app usually doesn't have a local MySQL server installation. An online MySQL server is not an option. So I'm looking for a solution to install a MySQL server with Java or use a built-in server.
Any suggestions?
You can use an in-memory/file based database such as H2, HSQL or SQLite instead. If you really need MySQL (you probably don't), you'll need to have your users install it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to develop using java and netbeans 8.0 an application that stores/edit/removes data form into a own database contained at application, not using a remote database. There is any suggestion to create that "onboard" database?
If you refer to an embedded database for a simple desktop command or command line application, these options can store data in memory or in a file:
HSQL http://hsqldb.org/
Derby http://db.apache.org/derby/
SqlLite https://www.sqlite.org/
This is old but could be a reference Best Embedded SQL DB for write performance?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking to make a Java based application that also uses an external MySQL database. Does anyone know of some good resources that I could read up on? I am very interested to give this a shot!
Thanks in advance!
The standard API to use databases from Java is JDBC. See the JDBC Tutorial to learn how to use it.
You'll need a JDBC driver to connect to MySQL. You can get that at the MySQL website: Connector/J download.
MySQL provides a JDBC driver, so you can use pretty much any Java database tutorial to learn how to do it.
You can also use all of the usual candidates for mapping DB resources to Java objects (Hibernate, EclipseLink, ...).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a lightweight and easy to install user management system made in JAVA. It should use a free Database System (MySQL for example) and handle basic security after logging (access or not with error message). I'm not looking for anything fancy/flexible like SpringSecurity.
Thank you!
I think OpenLdap would meet your requirements although not written in java, but which db other then derby is written in java?
Here is a tutorial how you access it using JNDI.