NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JPA: Foreign Key Saving Problem

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
gajeshtripathi



Joined: 05 Oct 2008
Posts: 9

PostPosted: Sat Aug 17, 2013 6:24 am    Post subject: JPA: Foreign Key Saving Problem Reply with quote

Dear Developers

I used netbeans: Master/Detail sample form to create Company master entry form in java
I added manually a combo box with appropriate binding for foreign key: StateId in CompanyMst which is linked with StateMst

Since this work should be done in few clicks within Netbeans, I am kinda angry at myself that I spent one and half day on it with no results... Any help? I would be appreciate if any one help me.

I also post my problem with source at java-forums(please see):-
[url]http://www.java-forums.org/jpa/63311-how-persist-foreign-key-only-if-not-exist.html[/url]

Thanks In Advance..
gajesh[/url]
Back to top
gajeshtripathi



Joined: 05 Oct 2008
Posts: 9

PostPosted: Sat Aug 17, 2013 6:29 pm    Post subject: Reply with quote

If attachment is not opened for seeing the source code then please click the links given external link below (use one of them):-

[url=http://www.4shared.com/zip/kj2BXfQJ/src_prob.html]4shared Link[/url]

[url=http://efshare.com/?s=SCXJRP]Easy File Share Link[/url]

I am also attaching source code here...{please see "problem.doc" file first}



src_prob.zip
 Description:

Download
 Filename:  src_prob.zip
 Filesize:  62.99 KB
 Downloaded:  61 Time(s)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo