S
S
SavinV2015-12-16 21:34:15
MySQL
SavinV, 2015-12-16 21:34:15

How to connect MySQL database to Java application?

How to connect a MySQL database to Java code NOT using a local server. That is, so that the database lies in the application package and can be accessed, as is done in Android.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
bromzh, 2015-12-16
@SavinV

Sqlite is there, not muscle. Take him.

A
Andrey Shishkin, 2015-12-17
@compiler

H2 still look. There is an embedded version.

K
Konstantin Malyarov, 2015-12-16
@Konstantin18ko

So if MySQL is via JDBC. (you can understand the server on a tablet).
Or, as the speaker above said SQlite.

C
CodeArsenal.net, 2015-12-17
@machine_messiah

Use SQLite with SQLite4Java : SQLite4Java Select, Update Example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question