Beginner |
|
Joined: Mon Sep 14, 2009 9:29 am Posts: 30
|
hi all..I have totally three table Loanproposal,BankLoanProposal,Bankmaster in banking project.
Relationship:
LoanProposal 1--->* BankLoanProposal LoanProposal 1--->1 Bankmaster
key: Bankmaster(Bankid is pk) --->LoanProposal(Bankid is fk refering to Bankmaster)
Problem is: I have many to one relationship between LoanProposal and Bankmaster.So When try to insert in Loanproposal table and BankLoanProposal alone without inserting in Bankmaster table.It shows NullPointerException in place of Bankid in Loanproposal ..So can please tell me how to insert in Loanproposal table with already existing value of bankid..
|
|