• Post Reply Bookmark Topic Watch Topic
  • New Topic

Binding Database Tables in Desktop App  RSS feed

 
Gokcen Guner
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two JTables in a form. Ive created it with palette function of NetBeans 6.5. I've binded them to database tables. These 2 database tables are connected with foreign keys.
TableA has a foreign key that is primary key of TableB.
My problem is that:
I couldnt construct the master/detail relation between them. For exapmle I want to see related rows in detail table when I select a row in master one. How can I do that?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!