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: Multiple connections to the same database??


Regu

See:

http://instantdb.enhydra.org/software/documentation/idb3_26/warnings.html

Pete

----- Original Message -----
From: "Regunath Balasubramanian" <regunath_b@mindtree.com>
To: <instantdb@enhydra.org>
Sent: Tuesday, April 10, 2001 6:54 AM
Subject: InstantDB: Multiple connections to the same database??


> Hi,
>
> I have two Java applications running, each of which open a connection to the
> same InstantDB database say xyz.prp.
> From the first application, I insert a set of records into a table using the
> connection the application has.
> After the update is sucessful, I query the same table  from the second
> application. This doesnot return the records inserted by the first
> application.
>
> The connections are created once in each application and are kept alive to
> provide for connection-pooling in the respective application. They are closed
> only during application termination. However the statements and result sets
> are created for each SQL operation and closed after processing. This I guess
> should take care of committing the contents to the database.
>
> However if the applications run one after the other like :
> 1) application "1" comes up, inserts the records and terminates.
> 2) application "2" comes up and queries the records. - this time it finds the
> records inserted by application one.
>
> Any suggestions on how I can get application "2" to read records inserted by
> application "1" when both are alive??
>
> Thanks
> Regu
> -----------------------------------------------------------------------------
> 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.