-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Question - Base fields
PostPosted: Fri Aug 19, 2011 1:58 am 
Newbie

Joined: Fri Aug 19, 2011 12:07 am
Posts: 1
I Have

public class BaseDTO {

private static final long serialVersionUID = 1L;

private Timestamp inserDate;

private Timestamp updateDate;

public Timestamp getInserDate() {
return inserDate;
}

public void setInserDate(Timestamp inserDate) {
this.inserDate = inserDate;
}

public Timestamp getUpdateDate() {
return updateDate;
}

public void setUpdateDate(Timestamp updateDate) {
this.updateDate = updateDate;
}
}

public class DetailDTO extends BaseDTO {

private String id;

private Timestamp pickupDate;

private long pieceCount;

private String remarks;

public String getId() {
return id;
}

public void setId(String id) {
this.id = id;
}

public Timestamp getPickupDate() {
return pickupDate;
}

public void setPickupDate(Timestamp pickupDate) {
this.pickupDate = pickupDate;
}

public long getPieceCount() {
return pieceCount;
}

public void setPieceCount(long pieceCount) {
this.pieceCount = pieceCount;
}

public String getRemarks() {
return remarks;
}

public void setRemarks(String remarks) {
this.remarks = remarks;
}
}

DETAIL_TABLE
id
pickupDate
pieceCount
remarks
insertDate
updateDate



what is the value of my DetailDTO.hbm.xml??


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.