Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Detach SQL code of Qt code

Detach SQL code of Qt code

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Exotic_Devel
    wrote on 23 Feb 2015, 23:21 last edited by
    #1

    In java language exist Hibernate. In Qt exists some equivalent? How can I separate the SQL code in Qt

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Feb 2015, 00:40 last edited by
      #2

      Hi,

      Are you thinking about something like "QxOrm":http://www.qxorm.com/qxorm_en/home.html ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JulienMaille
        wrote on 24 Feb 2015, 02:03 last edited by
        #3

        I've read the description of QxOrm multiple times but I still can't understand what's the purpose of this library. Could someone explain it like I'm 12?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 25 Feb 2015, 00:35 last edited by
          #4

          One of the use of it is rather than writing the code to interact with the database (table setup, queries etc.) you create object (DAO) that will do it for you behind the scene so you don't need to handle SQL at all. You can create object that can save their current state in a database and restore from it.

          Hope it helps

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          1/4

          23 Feb 2015, 23:21

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved