Solved

DELPHI-ORACLE

Posted on 2001-06-13
7
257 Views
Last Modified: 2010-04-06
HI....
I have a quiestion for You

I'm using oracle 8.i
and delphi 4.

in some cases the system lock a table
well...I'm using just a user of oracle to connect to ORACLE
I said,,, my user is "user1" ans password is "maypass"...
my applicattion is using this password and user, when I have 2 machines connected to oracle does it care?? I mean...
does Oracle lock the table automatically because the user is the same???
????does it really care????

remember....The same user, the same password...at different machines....at the same time..
0
Comment
Question by:Iamme
7 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6186457
the user doesn't matter, the problem must have another cause
0
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6186504
There are absolutely no restrictions with the user. One my program in that very moment have 27 connections to one server with the same username/pass from diferent machines.
0
 

Author Comment

by:Iamme
ID: 6186583
ok.. tnks
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6186604
A transaction acquires a table lock when a table is modified in the following DML statements: INSERT, UPDATE, DELETE, SELECT with the FOR UPDATE clause, and LOCK TABLE. These DML operations require table locks for two purposes: to reserve DML access to the table on behalf of a transaction and to prevent DDL operations that would conflict with the transaction. Any table lock prevents the acquisition of an exclusive DDL lock on the same table and thereby prevents DDL operations that require such locks. For example, a table cannot be altered or dropped if an uncommitted transaction holds a table lock for it.
0
 
LVL 2

Accepted Solution

by:
FrodoBeggins earned 100 total points
ID: 6186633
Take a look at
http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76965/c23cnsis.htm#3017
for more information of WHEN and HOW orecle locks tables :)
0
 
LVL 4

Expert Comment

by:Colin_Dawson
ID: 6190293
One of my programs, has 30 users (all using the same username and password!) each user has up to 6 seperate connections from the same machine.  And that works fine.
0
 

Author Comment

by:Iamme
ID: 6192585
tnks....................
The problem was  not the user an password
the problems is the configuration that a machien has.....
It ws not autocommit and it locked the BD
Tnks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
delphi custom sort exception 6 132
find a node in VST 2 63
How to open a new windows chrome resized and disabled the toolbar? 3 77
Convert MS Word document to a PDF file 9 60
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now