An open API service indexing awesome lists of open source software.

https://github.com/piotrl/javafx-database-manager

🎮 JavaFX example app with use of simple JDBC abstraction.
https://github.com/piotrl/javafx-database-manager

demo java javafx jdbc playground sql

Last synced: about 2 months ago
JSON representation

🎮 JavaFX example app with use of simple JDBC abstraction.

Awesome Lists containing this project

README

          

javafx-database-manager
=======================

It's example usage of javaFX in a desktop app.
It operate on User list stored in database and do stuff like adding, editing or updating.
Repository contains also basic Database Abstraction Layer to convert objects into SQL commands.

![screen](screen.png)

## Configuration
If you want run a demo, you should make some changes in project:

* Download JDBC driver to your sql engine
* Fill database.properties file with your details to look like this:

```
jdbc.drivers=org.mysql.Driver
jdbc.url=jdbc:mysql://localhost/db_users
jdbc.username=username
jdbc.password=password
```

where `db_users` is a database name

* Init database with SQL _(MySQL example)_:
```
CREATE TABLE users(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, name CHAR(20), registered DATE);
```
**I know** I should generate this automatically. I have it in my todo list.