Results 1 to 5 of 5

Thread: Cross database query engine with Oracle

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    18
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Cross database query engine with Oracle

    Quote Originally Posted by kasper360 View Post
    And for your last question, think of it this way. The users of this application will log in using TNS aliases. And each alias has different privileges. These privileges will prohibit some users from accessing some tables. That's why I was asked not to use database links.
    I don't understand the problem with database links. You have two schemes and different users. You can make a database link and give synonyms for tables in the linked database. And finally you can grant or revoke access to tables in the database and the linked database for every user.

    Quote Originally Posted by kasper360 View Post
    But in order to make cross database queries, i have to do it manually each time, which is a very hectic task. so I want to develop an common interface (possibly an API) and call some methods to make these queries
    You have to create your own QAbstractTableModel like QCrossSqlQueryModel, which gets two queries on two connections.

  2. The following user says thank you to majorwoody for this useful post:

    kasper360 (30th March 2011)

  3. #2
    Join Date
    Mar 2011
    Posts
    9
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Cross database query engine with Oracle

    I don't understand the problem with database links. You have two schemes and different users. You can make a database link and give synonyms for tables in the linked database. And finally you can grant or revoke access to tables in the database and the linked database for every user.
    Thanx for this info. I'm not much familiar with database links because this is the 1st time I've even considered to use them in an application. I'll discuss this with my employer and see if there are any other causes why he wants me not to use it.

Similar Threads

  1. Error connecting to Oracle database
    By NAYZAKAY44 in forum Qt Programming
    Replies: 1
    Last Post: 2nd August 2013, 18:20
  2. Qt Oracle Database Failure...
    By combsjy in forum Qt Programming
    Replies: 0
    Last Post: 9th August 2010, 15:57
  3. Oracle Database Connection
    By ToddAtWSU in forum Qt Programming
    Replies: 6
    Last Post: 20th December 2007, 15:18
  4. Oracle database <=> Qt4/Opensource
    By windkracht8 in forum Qt Programming
    Replies: 1
    Last Post: 23rd May 2007, 23:12
  5. Oracle Database Problem
    By magikalpnoi in forum Qt Programming
    Replies: 3
    Last Post: 27th September 2006, 21:19

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.