Java & MySQL – Quick Guide Java & MySQL – Overview JDBC stands for Java Database Connectivity, which is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases. The JDBC library includes APIs for each of the tasks mentioned below that are commonly associated with database […]
Category Archives: java Mysql
Java & MySQL – Useful Resources The following resources contain additional information on Java & MySQL. Please use them to get more in-depth knowledge on this topic. Useful Links on Java & MySQL − Sun Developer Network giving link on JDBC material. − MySQL Connector/J is the official JDBC driver for MySQL. − The Java […]
Java & MySQL – Batching with PrepareStatement Object Here is a typical sequence of steps to use Batch Processing with PrepareStatement Object − Create SQL statements with placeholders. Create PrepareStatement object using either prepareStatement() methods. Set auto-commit to false using setAutoCommit(). Add as many as SQL statements you like into batch using addBatch() method on […]