Announcement Announcement Module
Collapse
No announcement yet.
JPA Simple Architecture Question Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JPA Simple Architecture Question

    The situation is like this:
    1. a user creates some quizzes
    2. a user has many quiz responses
    3. a quiz has many quiz responses


    the author of the quiz can do a quiz recall which actually will remove all the quiz responses for the respective quiz.

    The problem is that if this will remove all quiz responses from the quiz object then sometimes is possible that there will be some logged users which will own some of the quiz response (there is a panel my quiz responses which can be accessed by a user).

    What should I do? Right now I am iterating all quiz responses and remove them also from the users which own them .

    But, Is this the best solution? It seems that the delete is very slow
Working...
X