資源簡介
精通Hibernate:Java對象持久化技術詳解
代碼片段和文件信息
package?mypack;
import?java.io.Serializable;
import?java.util.Set;
import?org.apache.commons.lang.builder.ToStringBuilder;
/**?@author?Hibernate?CodeGenerator?*/
public?class?Customer?implements?Serializable?{
????/**?identifier?field?*/
????private?Long?id;
????/**?nullable?persistent?field?*/
????private?String?name;
????/**?persistent?field?*/
????private?Set?orders;
????private?int?age;
????/**?full?constructor?*/
????public?Customer(String?name?Set?orders)?{
????????this.name?=?name;
????????this.orders?=?orders;
????}
????/**?default?constructor?*/
????public?Customer()?{
????}
????/**?minimal?constructor?*/
????public?Customer(Set?orders)?{
????????this.orders?=?orders;
????}
????public?Long?getId()?{
????????return?this.id;
????}
????public?void?setId(Long?id)?{
????????this.id?=?id;
????}
????public?String?getName()?{
????????return?this.name;
????}
????public?void?setName(String?name)?{
????????this.name?=?name;
????}
?public?int?getAge()?{
????????return?this.age;
????}
????public?void?setAge(int?age)?{
????????this.age?=?age;
????}
????public?Set?getOrders()?{
????????return?this.orders;
????}
????public?void?setOrders(Set?orders)?{
????????this.orders?=?orders;
????}
????public?String?toString()?{
????????return?new?ToStringBuilder(this)
????????????.append(“id“?getId())
????????????.toString();
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\
?????文件????16948839??2012-04-23?20:44??精通Hibernate\精通Hibernate.pdf
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter10\
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter10\classes\
?????文件?????????822??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\hibernate.cfg.xm
?????文件????????1195??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\log4j.properties
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter10\classes\mypack\
?????文件????????8456??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\mypack\BusinessService.class
?????文件????????1563??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\mypack\Customer.class
?????文件?????????834??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\mypack\Customer.hbm.xm
?????文件????????1505??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\mypack\Order.class
?????文件?????????799??2007-02-01?19:52??精通Hibernate\精通Hibernate\chapter10\classes\mypack\Order.hbm.xm
?????目錄???????????0??2007-02-01?20:17??精通Hibernate\精通Hibernate\chapter10\schema\
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter10\src\
?????文件?????????822??2007-02-01?17:55??精通Hibernate\精通Hibernate\chapter10\src\hibernate.cfg.xm
?????文件????????1195??2004-01-18?20:25??精通Hibernate\精通Hibernate\chapter10\src\log4j.properties
?????目錄???????????0??2007-02-01?20:17??精通Hibernate\精通Hibernate\chapter10\src\mypack\
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter11\
?????文件????????3097??2005-03-30?18:10??精通Hibernate\精通Hibernate\chapter11\build.xm
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter11\schema\
?????文件????????1399??2005-04-05?14:55??精通Hibernate\精通Hibernate\chapter11\schema\sampledb.sql
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter11\src\
?????文件????????1195??2004-01-18?20:25??精通Hibernate\精通Hibernate\chapter11\src\log4j.properties
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter11\src\mypack\
?????文件????????1426??2005-02-01?15:25??精通Hibernate\精通Hibernate\chapter11\src\mypack\Customer.java
?????文件?????????816??2005-02-04?17:00??精通Hibernate\精通Hibernate\chapter11\src\mypack\CustomerRow.java
?????文件?????????702??2005-02-17?15:52??精通Hibernate\精通Hibernate\chapter11\src\mypack\Order.hbm.xm
?????文件????????1499??2005-02-04?20:44??精通Hibernate\精通Hibernate\chapter11\src\mypack\Order.java
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter12\
?????目錄???????????0??2012-04-25?10:25??精通Hibernate\精通Hibernate\chapter12\12.6.1\
............此處省略446個文件信息
- 上一篇:src.zip(java1.8)
- 下一篇:android經典小項目源碼
評論
共有 條評論