one-to-many mapping error
<p>my bean classes are</p>

<pre><code>@Entity
@Table(name = "RateTransmission")
public class RateTransmission implements java.io.Serializable {

private Long transmissionId;
private Date implementationDate;
private Date receivedTs;
private Set&lt;RateTransmissionDetails&gt; rateTransmissionDetailses = new HashSet&lt;RateTransmissionDetails&gt;(0);

public RateTransmission() {
}

public RateTransmission(Long transmissionId, Date implementationDate, Date receivedTs) {
    this.transmissionId = transmissionId;
    this.implementationDate = implementationDate;
    this.receivedTs = receivedTs;
}

public RateTransmission(Long transmissionId, Date implementationDate, Date receivedTs, Set&lt;RateTransmissionDetails&gt; rateTransmissionDetailses) {
    this.transmissionId = transmissionId;
    this.implementationDate = implementationDate;
    this.receivedTs = receivedTs;
    this.rateTransmissionDetailses = rateTransmissionDetailses;
}

public RateTransmission(Long transmissionId, Date implementationDate, Set&lt;RateTransmissionDetails&gt; rateTransmissionDetailses) {
    this.transmissionId = transmissionId;
    this.implementationDate = implementationDate;        
    this.rateTransmissionDetailses = rateTransmissionDetailses;
}

@Id
@Column(name = "TransmissionID", unique = true, nullable = false)
public Long getTransmissionId() {
    return this.transmissionId;
}

public void setTransmissionId(Long transmissionId) {
    this.transmissionId = transmissionId;
}

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "ImplementationDate", nullable = false)
public Date getImplementationDate() {
    return this.implementationDate;
}

public void setImplementationDate(Date implementationDate) {
    this.implementationDate = implementationDate;
}


@Temporal(TemporalType.TIMESTAMP)
@Column(name = "ReceivedTS", nullable = false)
public Date getReceivedTs() {
    return this.receivedTs;
}

public void setReceivedTs(Date receivedTs) {
    this.receivedTs = receivedTs;
}

@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "rateTransmission")
public Set&lt;RateTransmissionDetails&gt; getRateTransmissionDetailses() {
    return this.rateTransmissionDetailses;
}

public void setRateTransmissionDetailses(Set&lt;RateTransmissionDetails&gt; rateTransmissionDetailses) {
    this.rateTransmissionDetailses = rateTransmissionDetailses;
}
}
</code></pre>

<p>and</p>

<pre><code>@Entity
@Table(name = "RateTransmissionDetails")
public class RateTransmissionDetails implements java.io.Serializable {

private Long id;
private RateTransmission rateTransmission;
private String spaceNum;
private Integer rateInCent;


public RateTransmissionDetails() {
}
public RateTransmissionDetails(String spaceNum,Integer rateInCent) {

    this.spaceNum=spaceNum;
    this.rateInCent=rateInCent;
}


@Id
@Column(name = "ID", unique = true, nullable = false)
@GeneratedValue(strategy = GenerationType.AUTO)
public Long getId() {
    return this.id;
}

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

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "TransmissionID", nullable = false)
public RateTransmission getRateTransmission() {
    return this.rateTransmission;
}

public void setRateTransmission(RateTransmission rateTransmission) {
    this.rateTransmission = rateTransmission;
}

@Column(name = "SpaceNum", nullable = false)
public String getSpaceNum() {
    return this.spaceNum;
}

public void setSpaceNum(String spaceNum) {
    this.spaceNum = spaceNum;
}

@Column(name = "RateInCent", nullable = false)
public Integer getRateInCent() {
    return this.rateInCent;
}

public void setRateInCent(Integer rateInCent) {
    this.rateInCent = rateInCent;
}
}
</code></pre>

<p>and my service class is </p>

<pre><code>@Service
@Transactional(rollbackFor = Exception.class)
public class RateService extends ServiceBase {

private PamService pam;

public void persistDynamicRates(DynamicRateChange req) throws InternalException, InvalidRequestXMLException, Exception {
    validateData(req);


    Long transmissionID = req.getTransmissionID();
    Date implementationDateTime = req.getImplementationDateTime();
    ArrayList&lt;ParkingSpace&gt; parkingSpaceList = req.getRateChange().getParkingSpaceList();
    Set&lt;RateTransmissionDetails&gt; rateTrmDtls = new HashSet&lt;RateTransmissionDetails&gt;();
    ArrayList&lt;RateTransmissionDetails&gt; rs = new ArrayList&lt;RateTransmissionDetails&gt;();
    if ((parkingSpaceList != null) &amp;&amp; (!parkingSpaceList.isEmpty())) {
        for (ParkingSpace ps : parkingSpaceList) {

            double rate = ps.getRate();
            int dollars = ((int) rate);
            int cents = (int) ((rate - dollars) * 100);
            Integer rateInCents = new Integer((dollars * 100) + cents);
            rateTrmDtls.add(new RateTransmissionDetails(ps.getSpaceNumber(), rateInCents));
        }
    }
    info("rateTrmDtls====" + rateTrmDtls.size());
    info("transmissionID====" + transmissionID);
    info("implementationDateTime====" + implementationDateTime);
    RateTransmission rateTrm = new RateTransmission(transmissionID, implementationDateTime, new Date(), rateTrmDtls);
    dao.store(rateTrm);

}

public void validateData(Object obj) throws InvalidRequestXMLException, Exception {


    if (obj == null) {
        throw new InvalidRequestXMLException("Empty request");
    } else {
        if (obj instanceof DynamicRateChange) {
        } else {
            throw new BadRequestException("Badrequest");
        }
    }
}
</code></pre>

<p>i am getting output like</p>

<blockquote>
  <p>INFO   rateTrmDtls====3
  INFO   transmissionID====5541
  INFO   implementationDateTime====Fri Oct 12 20:45:00 IST 2012</p>
</blockquote>

<p>and getting error </p>

<blockquote>
  <p>2012-11-02 18:04:02,796[http-6060-2] WARN duncansolutions.databus.external.controller.rate.RateController - Error message to caller: not-null property references a null or transient value: com.duncansolutions.databus.external.bean.hibernate.rate.RateTransmissionDetails.rateTransmission; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: com.duncansolutions.databus.external.bean.hibernate.rate.RateTransmissionDetails.rateTransmission</p>
</blockquote>

<p>any help is very thankfull.</p>
