{"comment":{"url":"https://api.github.com/repos/delow1990/FuckThisShit/comments/13852830","html_url":"https://github.com/delow1990/FuckThisShit/commit/52f3fc77fea5d0261e68d7e6b349b43ce6713801#commitcomment-13852830","id":13852830,"user":{"login":"delow1990","id":15183139,"avatar_url":"https://avatars.githubusercontent.com/u/15183139?v=3","gravatar_id":"","url":"https://api.github.com/users/delow1990","html_url":"https://github.com/delow1990","followers_url":"https://api.github.com/users/delow1990/followers","following_url":"https://api.github.com/users/delow1990/following{/other_user}","gists_url":"https://api.github.com/users/delow1990/gists{/gist_id}","starred_url":"https://api.github.com/users/delow1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delow1990/subscriptions","organizations_url":"https://api.github.com/users/delow1990/orgs","repos_url":"https://api.github.com/users/delow1990/repos","events_url":"https://api.github.com/users/delow1990/events{/privacy}","received_events_url":"https://api.github.com/users/delow1990/received_events","type":"User","site_admin":false},"position":8,"line":42,"path":"src/ru/dickbutt/gui/Tables/Models/DisciplinesTableModel.java","commit_id":"52f3fc77fea5d0261e68d7e6b349b43ce6713801","created_at":"2015-10-19T16:17:38Z","updated_at":"2015-10-19T16:17:38Z","body":"По факту, удалять из базы при удалении из модели - плохой знак. Я думал об этом - мешает только. Модель таблицы это не БД же. лучше сделать так, чтобы метод removeRow возвращал удаленный из модели элемент, и удалять из базы его в обработчике кнопки удаления."}}