Hey!

Generally we follow this process,

1) prepare a query
2) Exec a query
3) commit it to the database

Are you doing everything ?