hibernate3.jarlib\rquired\*.jarlib\optional\encache-1.2.3.jar (二级缓存)
lib\test\slf4j-log4j12.jar (hibernate注解安装包)
dist\spring.jardist\modules\spring-webmvc-struts.jarlib\jakarta-commons\commons-loggng.jarlib\jakarta-commons\commons-dbcp.jarlib\jakarta-commons\commons-pool.jarlib\cglib\cglib-nodep-2.1_3.jarlib\j2ee\common-annotations.jarlib\log4j-1.2.15.jar
href="http://www.cnblogs.com/hongten/gallery/image/112471.HTML">http://www.cnblogs.com/hongten/gallery/image/112471.HTML
com.b510.domain; Person java.io.Serializable { serialVersionUID = -47270870639923184L; Integer ID; String name; Integer age; String sex; Person() { } Person(String name) { .name = name; } Person(String name,Integer age,String sex) { .name = name; .age = age; .sex = sex; } Integer getID() { .ID; } setID(Integer ID) { .ID = ID; } String getname() { .name; } setname(String name) { .name = name; } Integer getAge() { .age; } setAge(Integer age) { .age = age; } String getSex() { .sex; } setSex(String sex) { .sex = sex; } }
"http://hibernate.sourceforge.net/hibernate-mapPing-3.0.dtd">
/spring+hibernate/src/com/b510/service/PersonService.java
com.b510.service; java.util.List; com.b510.domain.Person; PersonService { save(Person person); update(Person person);