Skip to content

Tag Archives: Symbian DB

Quick Symbian Factoid #5 : Fix for DBMS-TABLE 14 panic.

08-Sep-11

This panic is caused by calling successive commits on a single transaction or calling a commit when no transaction has taken place. So the offending code would look something like this : The PutL function will perform the db operation like insert or update and then perform a commit as well. Hence the Commit() call […]

Quick Symbian Factoid #1 :Fix for KErrNotSupported on RDbNamedDatabase::CreateTable.

24-Aug-11

From today I am starting a series of small code snippets or error information that I face in day-to-day Symbian C++ programming. I was trying to create a database using RDbNamedDatabase::CreateTable. I have used this function quite some times, but for some unknown reasons it was leaving with KErrNotSupported(-5). The code snippet that was causing […]

Inserting TTime values in Symbian DB using SQL..

27-Feb-07

I had been trying to insert TTime values using SQL statements and had real tough time getting the SQL string right. Firstly there is a complete specification for how to format values in the SQL statement when inserting it into the database. You can find it here: So while inserting the date values do not […]