Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4571162
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:27:54+00:00 2026-05-21T19:27:54+00:00

By having into consideration the following scheme: We need to make sure that, if

  • 0

By having into consideration the following scheme:

table relations

We need to make sure that, if an association gets deleted, all the dogs that belong to that association, should also be deleted.

However, it makes sense to, while doing this, keep the relation that actually exists between Association and Dog tables, because, each association can have several Dogs, however, one Dog belong to only one Association. So I believe the foreign key configuration is correct.

I believe I should apply Cascade somewhere, but I’m not seeing where. 🙁

Please advice

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:27:55+00:00Added an answer on May 21, 2026 at 7:27 pm

    Selecting ‘Dog’ as your target table, then selecting the ‘Foreign Keys’ tab, you should have a foreign key there for the ‘association_id’ field selected. Once you find that just check the popup value showing in the ‘Foreign Key Options’ section for ‘On Delete’ it should show ‘CASCADE’ (similar to what your screenshot above is showing – if it isn’t showing ‘CASCADE’ simply select it).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems including local javascript files into my html that is on the
I have a ListBox control that I want to change into having a toggle
Unfortunaltly I am maintaining a system that didnt take consideration into what will happen
I've recently started having trouble logging into my site using Facebook. I keep seeing
Having some annoying issues with loading images into a BufferedImage (image in the example)
Having imported an existing GWT project into Eclipse, the WEB-INF/lib directory was empty and
I am having an issue logging into a SQL Server 2000 Database via Windows
I'm having trouble loading image data into a draggable window using EXT JS. The
I am having trouble injecting a service into a custom tag I created: @Configurable
I'm currently having troubles integrating Jack into my QUnit. Besides from not knowing where

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.