postgresql and commit

hello

I would like to ask a specifc question about commit !!!!

I have a desktop application that connect to the database

lets say that in the application ,I have a method called

insert_user()

{

insert into .....

....

}

and i have another metond called

commit_changes()

{

commit();

if i have 2 clients that lanched the programme at the same time

programe 1 made the folloing methods

insert_client ()

...

....

programe2 used the foloowing methods

insert_user

commit_changes()

and here come the question ...

is the commit of programme 2 has effect on the info or the user insert of programe 1 ? I mean is it going to commit the info of the first programme ?

thank you in advance

[904 byte] By [linuxchilda] at [2007-11-26 15:23:27]
# 1
CROSS POST http://forum.java.sun.com/thread.jspa?threadID=5125810
cotton.ma at 2007-7-8 21:38:41 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
sorry ,but i thought that this Forum is not active sorry won't do it again
linuxchilda at 2007-7-8 21:38:41 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...