"# movieTicketsSale"
Data Base application with JDBI implementation
- Java - version 12
- gson - version 2.8.4
- maven - version 3.6
- Mocito
download, compile and run Local instance MySQL80 localhost port 3306 root // admin
public List getInfo() {
return connection.withHandle(handle ->
handle.createQuery("select ss.id, mm.title, ss.start_date_time, mm.price, mm.genre, mm.duration, cc.name, cc.surname, cc.email " +
"FROM sales_stand ss JOIN movie mm " +
"ON ss.movie_id = mm.id " +
"INNER JOIN customer cc " +
"ON cc.id = ss.customer_id;")
.mapToBean(MovieWithDateTime.class)
.list()
);
To-do list:
- cleanCode - optimize code
- Junit
- SQL
- Json
- Mocito
- pretty look console
Project is: in_progress