Menu

Tree [r22] /
 History

HTTPS access


File Date Author Commit
 Resources 2010-04-12 krsmichael [r22] Oracle update
 test 2008-06-25 krsmichael [r1]
 AboutDialog.ui 2009-03-31 krsmichael [r6]
 AboutDlg.cpp 2010-03-29 krsmichael [r19]
 AboutDlg.h 2010-03-29 krsmichael [r19]
 ProjectNameDialog.cpp 2010-03-29 krsmichael [r19]
 ProjectNameDialog.h 2010-03-29 krsmichael [r19]
 ProjectNameDialog.ui 2010-03-29 krsmichael [r19]
 QTSqlGen.cpp 2010-04-12 krsmichael [r22] Oracle update
 QTSqlGen.h 2010-03-31 krsmichael [r20] Oracle interim update.
 QTSqlGen.qrc 2010-04-12 krsmichael [r22] Oracle update
 QTSqlGen.rc 2010-03-29 krsmichael [r19]
 QTSqlGen.res 2009-03-31 krsmichael [r6]
 QTSqlGen.sln 2009-03-31 krsmichael [r6]
 QTSqlGen.ui 2010-03-29 krsmichael [r19]
 QTSqlGen.vcproj 2010-04-12 krsmichael [r22] Oracle update
 Readme.txt 2008-06-25 krsmichael [r1]
 SqlProjects.cpp 2010-03-29 krsmichael [r19]
 SqlProjects.h 2010-03-29 krsmichael [r19]
 Table.h 2010-04-12 krsmichael [r22] Oracle update
 main.cpp 2010-03-31 krsmichael [r20] Oracle interim update.
 qrc_QTSqlGen.cpp 2010-04-12 krsmichael [r22] Oracle update
 resource.h 2008-06-25 krsmichael [r1]
 test.db 2008-06-25 krsmichael [r1]

Read Me

//The MIT License
//
//Copyright (c) 2008 Michael Simpson
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
//copies of the Software, and to permit persons to whom the Software is
//furnished to do so, subject to the following conditions:
//
//The above copyright notice and this permission notice shall be included in
//all copies or substantial portions of the Software.
//
//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
//IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
//FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
//AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
//LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
//THE SOFTWARE.

This project was built on VS2008 with the commercial version of QT 4.4.  I don't have
any experience with MacOSx or KDE/Linux but I can't imagine that this source won't compile
on those platforms.

I pretty much just build it where I need it.  I only run it when I make schema changes to my database.
This project saves me ALOT of time when programming code that runs against Sqlite.

IMPORTANT!!!
When you create database tables, the first field must be the key field.  The code assumes that ordinal 0 is the key field.
As you can see in my test database, I just use _id.

One more note.  If you are going to be inserting a large number of records, open a transaction and use commit when done.  This will
make an operation that takes 25 minutes without a transaction, take 5 seconds.

Michael