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.
- Host: GitHub
- URL: https://github.com/piotrl/javafx-database-manager
- Owner: piotrl
- License: mit
- Created: 2014-04-07T17:15:37.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-09T19:29:19.000Z (over 11 years ago)
- Last Synced: 2024-04-15T02:02:45.820Z (over 1 year ago)
- Topics: demo, java, javafx, jdbc, playground, sql
- Language: Java
- Homepage:
- Size: 173 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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.

## 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.