Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Constantin Makshin
Usually if you don't explicitly ask for a transaction, RDBMS creates an implicit one for each statement. AFAIK, SQLite uses this idea too. And the next to last paragraph at http://www.sqlite.org/autoinc.html gives an impression that uniqueness of values in AUTOINCREMENT columns isn't affected by

Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Jason H
Krause knut.kra...@lagom.de To: interest@qt-project.org Sent: Thursday, December 12, 2013 2:00 PM Subject: Re: [Interest] Storing complex SQL relations with Qt Thanks for your opinion. I thought I'd be at least this far right now but it looks like I cannot insert new rows. I already opened

Re: [Interest] Storing complex SQL relations with Qt

2013-12-12 Thread Mark Brand
[Interest] How to insert a new record with generated primary key into a QSqlTableModel for that. But I've been readin all day long and I can't find a solution on how I can initialize a new record with my DataMapper form … If you're looking for a way for your application to initialize

[Interest] Storing complex SQL relations with Qt

2013-12-11 Thread Knut Krause
Hi, my application uses sqlite for its data and I modeled some complex relations for customers, appointments and so on. Now I want to edit such a relation using a custom dialog where the appointments go to a list and some other stuff to a table (all are QSqlTableModels). The problem is: How