Технологии

Решено

Закрыт

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

  • Виктор Евгеньевич - аватарка

    Виктор Евгеньевич

    17-й в Технологиях

    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.

    октябрь 4, 2012 г.
    Ответ понравился автору
    Лучший ответ по мнению автора

Похожие вопросы