func buildDefaultMainCallback(stmt string, params ...interface{}) jsonpatch.ContainerCallback {
	return func(transaction, prev interface{}) (interface{}, error) {
		_, err := transaction.(*sql.Tx).Exec(pgutil.Prepare(stmt, params...))
		if err != nil {
			return nil, err
		}
		return nil, nil
	}
}
func buildDefaultMainCallback(stmt string, params ...interface{}) jsonpatch.ContainerCallback {
	return func(transaction, prev interface{}) (interface{}, error) {
		stmt, params := pgutil.Prepare(stmt, params...)
		_, err := transaction.(*sql.Tx).Exec(stmt, params...)
		if err != nil {
			log.Printf("error executing database-statement: %s with parameters: %v", stmt, params)
			return nil, err
		}
		return nil, nil
	}
}