Connecting to Oracle

Connecting to Oracle

I have been trying to connect to our Oracle General Ledger Version 10.SC from PB5 Ent. I am accessing it from my PC running Win95 and a database that sits on a UNIX platform. I have loaded SQLnet2 and SQL*Plus, which was able to connect and from which I could view my tables. When I tried to connect via PB5 I got an Oracle error message, ORA-01031. The DBA said this is a PB problem but I am not convinced, because the messagementions insufficient privileges.

The DBA has told me that he set up a Role Group and grantedfull privileges to the group of which I am a member.My question is: Which privileges do I need as a user to access Oracle from PB, and do I require these to be granted to myselfindividually or is it sufficient to grant them to the Role Group?

When you connect to a database from the PowerBuilder developmentenvironment, PB checks for a set of tables called the repository, used to store extended attribute information about thetables and columns in the database.

If these tables do not exist, PowerBuilder tries to add the tablesto the system area. Only the DBA for the database has rights to thisarea, which is why you are getting the error message about insufficentrights.

The normal solution is for the DBA to set the DBA password and tell you what it is. You connect using PowerBuilder and let it doits work. The DBA then resets the password back to the regular password.

See also  The Importance of Data Security in Hospitality

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist