This tutorial demonstrate how to add new column to the table using DBCP. If the table already have existing column with data inside then the new column will have the null value to all its respective rows.
This tutorial demonstrate how to add new column to the table using DBCP. If the table already have existing column with data inside then the new column will have the null value to all its respective rows.
import java.sql.*;
|
In the lib folder place all required jar files ie. commons-collections.jar, commons-dbcp.jar, commons-pool.jar, j2ee.jar and mysql-connector-java-5.1.7-bin.jar
In the pathset.bat write following statement
set classpath=.;lib/commons-collections.jar;lib/commons-dbcp.jar;lib/commons-pool.jar;lib/j2ee.jar;lib/mysql-connector-java-5.1.7-bin.jar