|
Hibernate example source code file (NotonialDeal.java)
The Hibernate NotonialDeal.java source code//$Id$ package org.hibernate.test.annotations.embedded; import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; import javax.persistence.Column; import javax.persistence.MappedSuperclass; /** * @author Emmanuel Bernard */ @AttributeOverrides(value = { @AttributeOverride(name = "swap.tenor", column = @Column(name = "TENOR")), //should be ovvriden by deal @AttributeOverride(name = "id", column = @Column(name = "NOTONIALDEAL_ID")) }) @MappedSuperclass public class NotonialDeal extends Deal { /** * Notional amount of both IRSs. */ private double notional; public double getNotional() { return notional; } public void setNotional(double notional) { this.notional = notional; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate NotonialDeal.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.