mysql - Any idea on how to implement these database tables to Java? -


I have started to develop my small project in restaurant reservation to improve my java skills.

At the moment, I create a table

  • Number of tables in the restaurant (column)

  • And During the time interval,

For example, if someone books Table 4 at Table 11, then that cell will be reserved and marked as a book. And I should be able to separate the table of each day in my table so that I can choose to view today table or tomorrow table.

I have created 3 MySQL tables; Details of each table in the box given below: 'Customer', 'seat' and 'booking' table.

The problem is what I have to do, but I do not know how table is in the table in Netbeans (I am using Netbeans).

I'm asking for your idea about applying it!

Please refer to the images given below

alt Text

< If you are trying to improve your skills, I would recommend looking at basic JDBC because it is the basis of database usage on Java. Once you have mastered, you can use EJB, Hibernate & amp; Everything ...

Now, you should read about JDBC, preparedness, connections, and if you are targeting the web, connection pooling ... ()

< P> Good luck


Comments