Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DELPHI-ORACLE

Posted on 2001-06-13
7
259 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtuailstring tree compare node issue 14 125
When I am typing into a TEdit last word repeats 7 147
QRReport  TQrmemo vertical stretching 1 53
Delphi inherited method 6 76
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

837 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