RE: Embedded database which only stores data in memory?

2008-11-06 Thread Jim Newsham
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron > Zeckoski > Sent: Wednesday, November 05, 2008 10:52 PM > To: Derby Discussion > Subject: Re: Embedded database which only stores data in memory? > > Do you have the code for this that you can sh

Re: Embedded and Network Simultaneous Connections

2008-11-06 Thread Ole Ersoy
Hi Everyone, Thanks (Tusen Takk) you so much for all the helpful links and advice. My application uses Derby embedded to avoid the network latency, but having a peak at what's happening from my IDE (Outside of unit tests) is helpful, so this is perfect. Thanks again, - Ole Kathey Marsden

Re: Embedded and Network Simultaneous Connections

2008-11-06 Thread Rick Hillegas
Note that it's possible for application A to startup the network server in a separate thread. That is, application A and the network server could run in the same VM. In this scenario, Ole gets what he wants. For more information on this, please see the section titled "Starting the Network Serve

Re: Embedded and Network Simultaneous Connections

2008-11-06 Thread Kathey Marsden
Ole Ersoy wrote: Hi, I was wondering if it's possible for a network client to connect to a derby instance running in embedded mode. Please take a look at this example and see if it is what you need: http://db.apache.org/derby/docs/10.4/adminguide/radminembeddedserverex.html An easier way to

Re: Embedded and Network Simultaneous Connections

2008-11-06 Thread Bernt M. Johnsen
It is no problem having an application with an embedded Derby and starting the Derby network server so that network clients may connect to the same database: You may e.g start your embedded app like this: java -Dderby.drda.startNetworkServer=true -Dderby.drda.host=ahost -Dderby.drda.port=1234

Re: Embedded and Network Simultaneous Connections

2008-11-06 Thread Kristian Waagan
Ole Ersoy wrote: Hi Michael, Thanks for the clarification. That answers my question. Hello Ole, Please note that you can have your application use the embedded driver, and also start the the network server so that remote clients can connect to the same Derby instance. I don't remember the

RE: Embedded and Network Simultaneous Connections

2008-11-06 Thread derby
> -Original Message- > From: Ole Ersoy [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2008 8:29 AM > To: derby-user@db.apache.org > Subject: Embedded and Network Simultaneous Connections > > Hi, > > I was wondering if it's possible for a network client to connect to a > derby

Re: Embedded and Network Simultaneous Connections

2008-11-06 Thread Ole Ersoy
Hi Michael, Thanks for the clarification. That answers my question. Thanks again, - Ole [EMAIL PROTECTED] wrote: -Original Message- From: Ole Ersoy [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2008 8:29 AM To: derby-user@db.apache.org Subject: Embedded and Network Simult

Embedded and Network Simultaneous Connections

2008-11-06 Thread Ole Ersoy
Hi, I was wondering if it's possible for a network client to connect to a derby instance running in embedded mode. So in other words client A is running embedded derby, and (client B - Separate JVM) wants to connect to it using the network driver. Thanks, - Ole

Re: IndexOutOfBoundsException from client driver during getBlob

2008-11-06 Thread Kristian Waagan
Daniel Noll wrote: Kristian Waagan wrote: I haven't been able to obtain incorrect values, but I've been able to obtain the same locator value twice (on a multiprocessor machine and a slightly hacked Derby). It would help us a lot if we could instrument Derby to log the locator values that caus

Re: Embedded database which only stores data in memory?

2008-11-06 Thread Aaron Zeckoski
Do you have the code for this that you can share? On Wed, Nov 5, 2008 at 7:31 PM, Jim Newsham <[EMAIL PROTECTED]> wrote: > > > No need for manual deletion or an external script... just clear out the > database in your test tear-down code. Here is our strategy (junit 4.x): > > - Before all test ca