>> Rhys>> -Original Message-> From: Michael Segel [mailto:[EMAIL PROTECTED]
]> Sent: 03 March 2006 14:46> To: Derby Discussion> Subject: Re: No current connection>> On Friday 03 March 2006 7:58 am, Rhys Campbell wrote:> > Hi,> >> > I have a method
I have re-coded some of my classes
according to your ideas which should hopefully make it run better.
Thanks gain.
Regards,
Rhys
-Original Message-
From: Michael Segel [mailto:[EMAIL PROTECTED]
Sent: 03 March 2006 17:59
To: Derby Discussion
Subject: Re: No current connection
On Friday 03
il? Anyway, I'm going to start a rewrite in
the morning as I think I'll make a worse mess of things if I continue. I've
attached some of my relevant code it would be great if you could have a quick
look. There are some methods which probably should be there as I'm flipping
betwee
hings, but wouldn't this eliminate problems
> of scope?
>
> I'll be looking at it with a fresher head tonight!
>
> Rhys
>
> -Original Message-----
> From: Michael Segel [mailto:[EMAIL PROTECTED]
> Sent: 03 March 2006 14:46
> To: Derby Discussion
>
eliminate problems
of scope?
I'll be looking at it with a fresher head tonight!
Rhys
-Original Message-
From: Michael Segel [mailto:[EMAIL PROTECTED]
Sent: 03 March 2006 14:46
To: Derby Discussion
Subject: Re: No current connection
On Friday 03 March 2006 7:58 am, Rhys Campbell wro
class called DBTools which I wrote to
> simplify DB access.
>
> I have a play with your ideas this evening and maybe post my code.
> Thanks for your thoughts.
>
> Regards,
>
> Rhys
>
> -Original Message-
> From: Michael Segel [mailto:[EMAIL PROTECTED]
s for your thoughts.
Regards,
Rhys
-Original Message-
From: Michael Segel [mailto:[EMAIL PROTECTED]
Sent: 03 March 2006 13:36
To: Rhys Campbell
Subject: Re: No current connection
On Thursday 02 March 2006 7:20 pm, you wrote:
> Hi,
>
> I'm using Derby for a current project fo
wn Derby at the
> end of one class before restarting it in the class that had the problem.
> This had no effect on the "No current connection" issue. I am using the
> same supporting classes and so the code to access the database is also
> the same.
>
>
>
Uhm,
Just sh
the problem. This had no
effect on the “No current connection” issue. I am using the same
supporting classes and so the code to access the database is also the same.
I have not changed any default Derby properties. All I
did to install Derby
was to place it in JAVA_HOME/lib/ext. I am only using
Hi Rhys,>My app starts up a database, drops a few views and then recreates them.
When another one of my Java classes moves on to do a >small SELECT (that
should yield a single result). The exception "No current connection" is
raised with the query obviously failing.Hard to tell wh
Title: No current connection
Hi,
I'm using Derby for a current project for the first time. Got on with it pretty well until tonight.
My app starts up a database, drops a few views and then recreates them. When another one of my Java classes moves on to do a small SELECT (that should
rows into this table at a rate of around 50
>msecs.
>Another thread is periodically doing selects on this table and some
>deletes.
>After running for about 10 hours the thread that is inserting rows catches
>a SQLException with the follwing details:
>
>SQLError is 4
> SQLState is
> SQLState is 08003
> SQL Error Message is 'No current connection'
>
>No other thread in the VM has issed a shutdown request to derby.
>
>What conditions could cause the DB to close connections to it ? Has anyone
>else seen this error before ?
>The error does
round 50
msecs.
Another thread is periodically doing selects on this table and some
deletes.
After running for about 10 hours the thread that is inserting rows catches
a SQLException with the follwing details:
SQLError is 4
SQLState is 08003
SQL Error Message is 'No current connection&
14 matches
Mail list logo