Accessing remote oracle database method to get service id!



  • I want to develop a user login to remote oracle database where user enters username,password, ip address, port number and service id! I found methods for username,password, ipaddress and portno! But I need method to get service ID! what are they?

    QSqlDatabase mydb = QSqlDatabase::addDatabase ("QSQLITE");
    mydb.setHostName ("xxx.xxx.xxx.xxx"); //ip address
    mydb.setDatabaseName ("my_databwwase");
    mydb.setUserName ("my_username");
    mydb.setPassword ("my_password");
    mydb.setPort("portnumber");


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.