Hi, I met the same problem. In a nutshell your INSERT go to journal file (read this) and you see the data until you are connected with the database(after a restart you probably won't see the data). In order to avoid that behavior you have to release all the resources like the QSqlQueryModel using the clear() function before updating the DB and refresh the Model/View after that.