InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: id twice inserted


This thread seems to be a false alarm:
I think the effect was result of two open connections with two different virtuel
machines at one time.
When we test an applicastion it may happen that a DBBrowser-Tool is started. And it
might be possible that this database connection was not closed.
No one of my collegues, who discovered the effect, could definitly exclude that
there was only one open connection.

jens panse

Jens Panse schrieb:

> this means, one time the effect happened when the DBBrowser was used and the
> other time when a java program was started. There were not more than one
> connection at one time.
>
> Jens Panse
>
> Peter Hearty schrieb:
>
> > Jens
> >
> > When you say
> >
> > > After an UPDATE via jdbc (1 X DBBrowser, 1 X java program) the ids and
> > > all other entries exist two times in the table.
> >
> > Do you mean that both the browser and the Java program were connected to the
> > database at the same time? If so, if you weren't using the RmiJdbc driver,
> > then the results will be unpredictable.
> >
> > Pete
> > -----Original Message-----
> > From: owner-instantDB@enhydra.org [mailto:owner-instantDB@enhydra.org]On
> > Behalf Of Jens Panse
> > Sent: 16 March 2001 08:51
> > To: idb instant db
> > Subject: InstantDB: id twice inserted
> >
> > hallo,
> >
> > I was reported by two independent collegues, but I coudn't reproduce the
> > following effect up to now:
> > a table id was created like that:
> > create table test(
> > id long auto increment,
> > name char(128));
> > After an UPDATE via jdbc (1 X DBBrowser, 1 X java program) the ids and
> > all other entries exist two times in the table.
> > Sounds a little strange because there has not been such a problem so far
> > and I can't tell under which special circumstances this effect happens.
> > Is there something known about that.
> > They are using idb 3.26 beta 1.
> >
> > Jens Panse
> >
> > --
> > -[ ]-/\-( )---------------------------------------EasternGraphics-------
> >
> > Jens Panse
> >
> > http://www.EasternGraphics.com
> > phone:            03677 678267
> > private:     jens.panse@gmx.de
> >
> > ----------------------------------------------------------------------------
> > -
> > To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> > with the text "unsubscribe instantdb" in the body of the email.
> > If you have other questions regarding this mailing list, send email to
> > the list admin at owner-instantdb@enhydra.org.
> >
> > -----------------------------------------------------------------------------
> > To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> > with the text "unsubscribe instantdb" in the body of the email.
> > If you have other questions regarding this mailing list, send email to
> > the list admin at owner-instantdb@enhydra.org.
>
> --
> -[ ]-/\-( )---------------------------------------EasternGraphics-------
>
> Jens Panse
>
> http://www.EasternGraphics.com
> phone:            03677 678267
> private:     jens.panse@gmx.de
>
> -----------------------------------------------------------------------------
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.

--
-[ ]-/\-( )---------------------------------------EasternGraphics-------

Jens Panse

http://www.EasternGraphics.com
phone:            03677 678267
private:     jens.panse@gmx.de


-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.