Solved

DELPHI-ORACLE

Posted on 2001-06-13
7
258 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 60
Virtuailstring tree add node to another virtuailstring tree list 4 115
Multiple image collision 13 74
Base1 Encode/Decode 3 77
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

785 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