Технологии
Решено
Закрыт
vip
Auto-Updating JTable? - вопрос №403459
Is there a way by which JTable auto-updates itself, by including some timers or related stuff into our coding? There may be times when i update my database(back-end) from somewhere else, so is that possible that JTable auto-updates itself when it encounters certain changes in the database??
Вопрос задан анонимно октябрь 3, 2012 г.
-
Всего ответов: 1
-
I can't say for sure, cause I don't know the details of your project.
But probably the problem may be solved via database Triggers:
dev.mysql.com/doc/refman/5.0/en/triggers.html
You have to write a stored procedure in the DB, which updates all needed data, and then just call it within a trigger OnUpdate for the table you are updating via backend.
Лучший ответ по мнению автора
Похожие вопросы
Компьютер пишет "Нам не удалось завершить обновление отмена изменений не выключайте
август 3, 2014 г.
Скачал Файл Zip у меня установилась программа Baidu,никак не могу её удалить,помогите!
май 30, 2014 г.