SQL persistence for QObjects