Print This Post

«

»

Aug
08

Ibatis Tutorial – Sample Application Step 2

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

Related Posts with Thumbnails

1 comment

  1. IBatis Tutorial - Sample Application Step 1 - Golmuri says:

    [...] Read : IBatis vs Hibernate ? Which one to choose? IBatis Tutorial – Sample Application Step 2 Share and [...]

    Like or Dislike: Thumb up 0 Thumb down 0

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>