6.对数据库进行操作:
一下是对数据库的操作代码,包括添加,删除,更新,查询,和分页,统计
-------------------------------------------------------------------
/DBSQLIte/src/com/credream/entity/Person.java
package com.credream.entity;
public class Person
{
private Integer id;
private String name;
private String phone;
public Person()
{
}
public Person(Integer id, String name, String phone)
{this.id = id;this.name = name;this.phone = phone;
}
public Person(String name, String phone)
{this.name = n......
阅读全文