Step 10: Now run it. To run — right click OneToOneInsert.java –> Run As –> Java Application. You will see data inserted into the table and also it will retrieve inserted data from table and show to the console as below: