Step 2: Create a package and a java object .
package com.Employee
import java.io.Serializable;
public class Employee implements Serializable {
private int employeeID;
private String firstName;
private String lastName;
private String email;
public int getEmployeeID() {
return employeeID;
}
public void setEmployeeID(int employeeID) {
this.employeeID = employeeID;
}
…..
}
Similarly have a getter and setter for other attributes as well .
Also Read : IBatis vs Hibernate ? Which one to choose?
IBatis Tutorial – Sample Application Step 3
Introduction to IBatis Tutorial -Part 1
Trackbacks /
Pingbacks