[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dtp] Re: Sharing embedded Derby with other plugins

Chris Giblin wrote:
Ideally, I could use OpenJPA and DSE simultaenously (ie, two connections) without going Derby Client/Server. I currently use the Derby embedded driver.

Is there a way two components such as these can access the same Derby instance? I understand that only one can "boot" Derby.

Has anyone else come across this situation already?

Hi Chris...

One possible solution... Create two different driver definitions for the Derby driver so each has its own classloader (ultimately this is the limiting factor from what I remember). See if using one for OpenJPA and one for the DSE makes a difference.

--Fitz