At 12:40 PM 7/30/2006, you wrote:
Hello!
Am 30.07.2006 um 18:40 schrieb mos:
The Cayenne framework is using a a single table to keep the primary
keys (PK) for its objects. The method accessing this table is
surrounded by lock / unlock commands, so no other thread can read the
same PK from the
Hello!
Am 30.07.2006 um 18:40 schrieb mos:
The Cayenne framework is using a a single table to keep the primary
keys (PK) for its objects. The method accessing this table is
surrounded by lock / unlock commands, so no other thread can read the
same PK from the table while another thread is curre
At 05:43 AM 7/29/2006, you wrote:
Dear list,
we are running a Mysql 5.0.22 server that is accessed by a number of
java web applications (jdbc driver 3.1) over the network. The
database layer was realized using the Cayenne framework and InnoDB
was chosen as the table type. All applications share
Dear list,
we are running a Mysql 5.0.22 server that is accessed by a number of
java web applications (jdbc driver 3.1) over the network. The
database layer was realized using the Cayenne framework and InnoDB
was chosen as the table type. All applications share the same
database because t
Hi All,
Thank you for u r valuable suggestions. I am trying to implement Sequence.
As i should not use AUTOINCREMENT, and Locking a table will slower my
application.
Thank you once again.
anted mysql to handle the
"unique" id. MySQL would return only the minorid (autoincrement field) on an insert. Just some ideas to keep uniqueness when you
have things running concurrently.
- Original Message -
From: "Burke, Dan" <[EMAIL PROTECTED]>
To: "Dan
/MySQL_Sequences
I'd also welcome any criticisms on it if anyone else is bored enough to
check it out.
Dan.
-Original Message-
From: Dan Buettner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 8:55 AM
To: balaraju mandala
Cc: mysql@lists.mysql.com
Subject: Re: concurrency problem
y,
I am facing concurrency problem. The scenario is, I have a table, the
primary key of that table say 'uid' is a unique number, which is used by my
application. So every time i fire a query, i get max(uid) i read this
ResultSet from my Java application. I increament this uid to +1. Th
Hi Comunity,
I am facing concurrency problem. The scenario is, I have a table, the
primary key of that table say 'uid' is a unique number, which is used by my
application. So every time i fire a query, i get max(uid) i read this
ResultSet from my Java application. I increament this
Tim Wood wrote:
> a-- select test_id from tests where status=1 and priority < 11 order by
priority
b-- update tests set status=2 where test_id =
What's the best way to ensure that a single client executes both a and b
atomically so that no other client can show up and execute an 'a' between
ano
Heyho!
Tim Wood wrote:
Hi
I have a number of clients connecting to a DB in order to take jobs off a
queue, mark them active, then run them. In pseudo code, each client executes
the following sequence of queries:
a-- select test_id from tests where status=1 and priority < 11 order by
priority
b
Hi
I have a number of clients connecting to a DB in order to take jobs off a
queue, mark them active, then run them. In pseudo code, each client executes
the following sequence of queries:
a-- select test_id from tests where status=1 and priority < 11 order by
priority
b-- update tests set st
12 matches
Mail list logo