Uploaded image for project: 'JCommune'
  1. JCommune
  2. JC-289

Insert into BRANCH with no Section created

VotersWatchers
    XMLWordPrintable

    Details

      Description

      I can actually run this from mysql shell:

      insert into jtalks.BRANCH values(1, '1', 'Java Basics', 'For noobs', '1', 1 );

      And the result doesn't depend on whether the appropriate Section is in the database, which leads to inconsistent data in the database. Of course I can't see such branch at the JCommune GUI itself.
      Expected result should be an SQL error which says that I can't insert a invalid SECTION_ID. Please, add constraints to the hbm files.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                jk1 Evgeniy Naumenko
                Reporter:
                ctapobep Stanislav Bashkyrtsev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Structure Helper Panel