Results 1 to 5 of 5

Thread: ADO.NET qsqldriver?

  1. #1
    Join Date
    May 2006
    Posts
    70
    Thanks
    12
    Thanked 4 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default ADO.NET qsqldriver?

    Has anyone attempted to build an ADO.NET QSqlDriver class? (Or even an OLEDB driver?) The QODBC driver is quite limited (just check it's hasFeature() method) and the TDS driver isn't available with the open source version of Qt.
    Is an ADO.NET QSqlDriver a violation of the GPL? Even it's compiled as a plugin? I thought that you could use closed source plugins with an open source application. What if the plugin is used in-house only and never released? Since the GPL is a distribution license does it apply if you don't distribute?
    Or is it possible to write a Microsoft Sql Server specific QODBC plugin that supports features like QuerySize, NamedPlaceholders, and LastInsertId.

    I have searched high and low and have found no discussion on this at all. Maybe I'm way off base here but it would be nice to know that the code I write works equally well using MySql as when I use MS-SQL.

  2. #2
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ADO.NET qsqldriver?

    Unfortunately, when people think of SQL Server access they think ODBC. Even where I work DSN's prevail. Frankly I hate them. ODBC is a slow middle man and full of bugs that will never be fixed as MS don't support it anymore.

    I'm quite keen to write an ADO adapter for Qt.
    Anyone out there interested in starting on OS project to do it?

  3. #3
    Join Date
    May 2006
    Posts
    70
    Thanks
    12
    Thanked 4 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ADO.NET qsqldriver?

    Count me in for helping out with an ADO driver. But how would the licensing work?

    Once my current project gets finished and if no one has started this thing I'll see if I can get it off the ground.

    Anyways, yes, if could get rid of dealing with ODBC forever I'd be very very happy.

  4. #4
    Join Date
    Mar 2006
    Posts
    140
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ADO.NET qsqldriver?

    Dunno, maybe linking against ADO might require that distribution of the driver also requires distribution of the ADO source code. Will have do some reading

  5. #5
    Join Date
    May 2006
    Posts
    70
    Thanks
    12
    Thanked 4 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ADO.NET qsqldriver?

    I'm still very interested in writing this driver at some point but I have overdue deadlines I need to complete.

    In the mean time i'm trying to solve my specific ODBC problems here.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.