Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 864 Bytes

README.md

File metadata and controls

11 lines (11 loc) · 864 Bytes

Parking-Java9

A small desktop app. DEBUG VERSION! -> There's no .jar file in here, the project is in process.
Main functionality: interaction with MySQL database using Hibernate.
To try this app you first have to configure src/hibernate.cfg.xml file:
-change connection.driver_class, connection.url, connection.username and dialect properties if needed;
-add connection.password property to set password (my local server doesn't have one).
Then compile all the .java files (from src directory) and run the main launching file: src/logic/ParkingMain.java.
The database structure is the following:
-table "cars": fields: car_id, car_number, car_model, registered, parked, owner_id, car_parked_time;
-table "owners": fields: owner_id, owner_name, owner_tel.
The app uses several ways to make Hibernate queries to try them out and learn :)