add in mem db
@@ -14,7 +14,7 @@ public class BatchProcessing {
public void getConnection(){
try {
Class.forName("org.h2.Driver");
- connection = DriverManager.getConnection("jdbc:h2:file:C:\\EMPLOYEEDB", "SA", "");
+ connection = DriverManager.getConnection("jdbc:h2:mem:db", "SA", "");
connection.setAutoCommit(false);
} catch (Exception e) {
e.printStackTrace(System.out);
