Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Posts
    45
    Rep Power
    0

    Unhappy J2EE: Foreign Key Saving Problem

    Dear Readers

    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.

    For better understanding my problem, please see the attachment & read "problem.doc" file first.

    Thanks In Advance..
    gajesh
    Attached Files Attached Files

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

    Default Re: J2EE: Foreign Key Saving Problem

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,354
    Rep Power
    6

    Default Re: J2EE: Foreign Key Saving Problem

    Quote Originally Posted by Gajesh Tripathi View Post
    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...
    You should feel angry at yourself for wanting to make Netbeans do your work for you. It doesn't work that way, YOU have to learn how to do this and when you know your stuff, you will know how to use Netbeans to make your life a little easier. So for now - forget Netbeans exists and go properly learn this stuff. You'll probably need a book.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Problem with Foreign Key in Database
    By vector_ever in forum JDBC
    Replies: 9
    Last Post: 08-12-2013, 11:11 AM
  2. Daylight Saving Problem
    By Jack_Maloney in forum Advanced Java
    Replies: 3
    Last Post: 11-02-2011, 05:39 PM
  3. jdbc foreign keys problem
    By axenos in forum JDBC
    Replies: 7
    Last Post: 03-15-2011, 12:07 PM
  4. Problem with saving from JFileChooser
    By fireshadow4126 in forum AWT / Swing
    Replies: 2
    Last Post: 11-24-2010, 09:21 PM
  5. innodb and foreign keys problem
    By Pierced1 in forum JDBC
    Replies: 0
    Last Post: 06-29-2009, 03:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •