Skip to content

piotrl/javafx-database-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

🎮 JavaFX example app with use of simple JDBC abstraction.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages