/**
* 11.部门id(对应表:dbo.l_department)
*/
@Column("departmentid")
private int departmentid;
public int getDepartmentid() {
return departmentid;
}
public void setDepartmentid(int departmentid) {
System.out.println("----------"+departmentid);
this.departmentid = departmentid;
}
数据库中该字段的值是NULL.
我怎么才能获取一个departmentid:NUll呢?