QSqlDatabase, SET TRANSACTION READ ONLY, ISOLATION LEVEL
-
Hi!
Is it possible define SET TRANSACTION READ ONLY and ISOLATION LEVEL?
By QSqlDatabase or QSqlQuery. -
Hi
What database system are you using ?
Sqlite ? -
@mrjj Firebird
-
Hi
It seems you can doQSqlQuery query; query.exec("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE");
dont know with readonly.
-
Hi
It seems you can doQSqlQuery query; query.exec("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE");
dont know with readonly.
@mrjj Error's text: " "
-
@mrjj Error's text: " "
@michaeldev
?????????? -
Hi
It seems you can doQSqlQuery query; query.exec("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE");
dont know with readonly.
@mrjj said in QSqlDatabase, SET TRANSACTION READ ONLY, ISOLATION LEVEL:
Hi
It seems you can doQSqlQuery query; query.exec("SET TRANSACTION ISOLATION LEVEL SERIALIZABLE");
dont know with readonly.
false, error's text: " "
-
hi
And have connected to the DB first and the connection is fine ?
What are you using the FireBird plugin ? or via odbc ? -
hi
And have connected to the DB first and the connection is fine ?
What are you using the FireBird plugin ? or via odbc ?@mrjj said in QSqlDatabase, SET TRANSACTION READ ONLY, ISOLATION LEVEL:
hi
And have connected to the DB first and the connection is fine ?
What are you using the FireBird plugin ? or via odbc ?Connection is fine. Common queries have results good.
I use Firebird native plugin. -
@mrjj said in QSqlDatabase, SET TRANSACTION READ ONLY, ISOLATION LEVEL:
hi
And have connected to the DB first and the connection is fine ?
What are you using the FireBird plugin ? or via odbc ?Connection is fine. Common queries have results good.
I use Firebird native plugin.@michaeldev
Hi
Ok then i don't think the plugin supports it.
But it odd it dont report anything back about it.