Re: [Interest] QtSql database insertion issues...

2015-04-24 Thread Bo Thorsen
Karl, don't worry. the SQL module is not going anywhere. Jason is right in the sense that it's considered done. He's wrong in thinking this has anything to do with NoSQL. NoSQL isn't emerging as a the SQL killer that NoSQL guys believe it is. Instead it's a different tool that has other use

Re: [Interest] QtSql database insertion issues...

2015-04-23 Thread Karl Ruetz
-project.org Subject: Re: [Interest] QtSql database insertion issues... Jason H schreef op 23-4-2015 om 04:38: I always execute CREATE TABLE IF NOT EXISTS table after connecting. Problem is: there is no DDL support in Qt, so it is not possible to do that in a way that is database-agnostic

Re: [Interest] QtSql database insertion issues...

2015-04-23 Thread Jason H
. Sent:Thursday, April 23, 2015 at 10:45 AM From:Karl Ruetz karl.ru...@ruetzdogz.com To:interest@qt-project.org Subject:Re: [Interest] QtSql database insertion issues... I sincerely hope you are wrong; at least for the next several years. (Like 10 years.) Staying on the bleeding edge is simply not an option

Re: [Interest] QtSql database insertion issues...

2015-04-22 Thread BRM
' Subject: Re: [Interest] QtSql database insertion issues...  The prepare(...) does seem to work.  One thing that really confuses me is that even though I use the named bindings, it always lists the bindings as '?' in the error messages.   Ben    On Tuesday, April 21, 2015 11:20 PM, Tony Rietwyk

Re: [Interest] QtSql database insertion issues...

2015-04-22 Thread BRM
-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of BRM Sent: Wednesday, 22 April 2015 12:42 PM To: Qt Project Subject: [Interest] QtSql database insertion issues...  I've been out of the Qt loop for a little bit; but I'm

Re: [Interest] QtSql database insertion issues...

2015-04-22 Thread Jason H
I always execute CREATE TABLE IF NOT EXISTS table after connecting. Sent:Wednesday, April 22, 2015 at 10:08 PM From:BRM bm_witn...@yahoo.com To:Tony Rietwyk t...@rightsoft.com.au, Qt Project interest@qt-project.org Subject:Re: [Interest] QtSql database insertion issues... So I dove

Re: [Interest] QtSql database insertion issues...

2015-04-22 Thread André Somers
Jason H schreef op 23-4-2015 om 04:38: I always execute CREATE TABLE IF NOT EXISTS table after connecting. Problem is: there is no DDL support in Qt, so it is not possible to do that in a way that is database-agnostic. Your code will not work against all databases I think. André

Re: [Interest] QtSql database insertion issues...

2015-04-22 Thread André Somers
Kristoffersen, Even (NO14) schreef op 22-4-2015 om 09:07: insertion.prepare(INSERT INTO master_directory (hash, path) VALUES(:hash, :path)); TIA, Ben Seems like you are missing a semicolon at the end of your SQL statements. That shouldn't matter. There is no obligation to terminate

Re: [Interest] QtSql database insertion issues...

2015-04-22 Thread Kristoffersen, Even (NO14)
    insertion.prepare(INSERT INTO master_directory (hash, path) VALUES(:hash, :path)); TIA, Ben Seems like you are missing a semicolon at the end of your SQL statements. -Even ___ Interest mailing list Interest@qt-project.org

[Interest] QtSql database insertion issues...

2015-04-21 Thread BRM
I've been out of the Qt loop for a little bit; but I'm working to bring myself back up to speed.I'm presently working on a small project that is basically a GUI equivalent of md5sum/sha1sum where I'm attempting to store the data in a SQLite Database during run-time. I've already done a

Re: [Interest] QtSql database insertion issues...

2015-04-21 Thread Tony Rietwyk
Sent: Wednesday, 22 April 2015 12:42 PM To: Qt Project Subject: [Interest] QtSql database insertion issues... I've been out of the Qt loop for a little bit; but I'm working to bring myself back up to speed. I'm presently working on a small project that is basically a GUI equivalent of md5sum

Re: [Interest] QtSql database insertion issues...

2015-04-21 Thread BRM
, or you would get a different message.   Hope that helps,  Tony    From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of BRM Sent: Wednesday, 22 April 2015 12:42 PM To: Qt Project Subject: [Interest] QtSql database