Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.FetchType;
import jakarta.persistence.Id;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.NamedQuery;
Expand Down Expand Up @@ -85,39 +86,39 @@ public class MBeneficiarymapping implements Serializable {
private Timestamp reservedOn;

// uni-directional one-to-one association to MBeneficiaryaddress
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenAddressId", nullable = false)
private MBeneficiaryaddress mBeneficiaryaddress;

@Column(name = "BenAddressId", insertable = false, updatable = false)
private BigInteger benAddressId;

// uni-directional one-to-one association to MBeneficiaryconsent
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenConsentId"/* , nullable=false */)
private MBeneficiaryconsent mBeneficiaryconsent;

@Column(name = "BenConsentId", insertable = false, updatable = false)
private BigInteger benConsentId;

// uni-directional one-to-one association to MBeneficiarycontact
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenContactsId", nullable = false)
private MBeneficiarycontact mBeneficiarycontact;

@Column(name = "BenContactsId", insertable = false, updatable = false)
private BigInteger benContactsId;

// uni-directional one-to-one association to MBeneficiarydetail
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenDetailsId", referencedColumnName = "BeneficiaryDetailsId", nullable = false)
private MBeneficiarydetail mBeneficiarydetail;

@Column(name = "BenDetailsId", insertable = false, updatable = false)
private BigInteger benDetailsId;

// uni-directional one-to-one association to MBeneficiaryregidmapping
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenRegId"/* , nullable=false */)
private MBeneficiaryregidmapping mBeneficiaryregidmapping;

Expand All @@ -126,7 +127,7 @@ public class MBeneficiarymapping implements Serializable {
private BigInteger benRegId;

// uni-directional one-to-one association to MBensecurestack
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenSecureStackId", nullable = false)
private MBensecurestack mBeneficiarysecurestack;

Expand Down Expand Up @@ -166,15 +167,15 @@ public class MBeneficiarymapping implements Serializable {
* New columns added for MMU integration 11-04-2018
*/
// uni-directional one-to-one association
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenImageId")
private MBeneficiaryImage mBeneficiaryImage;

@Column(name = "benImageId", insertable = false, updatable = false)
private BigInteger benImageId;

// uni-directional one-to-one association
@OneToOne
@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "BenAccountID")
private MBeneficiaryAccount mBeneficiaryAccount;

Expand Down
Loading