How to create threads in Java

  • 05 April 2016
  • ADM

How to create threads in Java using Runnable interface and Thread class. Comparison between these two implementations.


How to delete a record using JDBC PreparedStatement

  • 19 May 2016
  • ADM

How to delete a record using JDBC PreparedStatement to avoid SQL injection.


How to update a record using JDBC PreparedStatement

  • 29 April 2016
  • ADM

How to update a record using JDBC PreparedStatement to avoid SQL injection.


How to select records using JDBC PreparedStatement

  • 05 April 2016
  • ADM

How to select records from MySQL database using JDBC PreparedStatement to avoid SQL injection.


How to insert a record using JDBC PreparedStatement

  • 05 April 2016
  • ADM

How to insert a new record using JDBC PreparedStatement in Java to avoid SQL injection. Example with auto-increment table.


How to create a table using JDBC Statement

  • 24 March 2016
  • ADM

How to create a new table from Java using JDBC Statement in simple steps: connect, get the statement, execute and close.