> From: jamie campbell <[email protected]>
> Subject: Re: classloader and 3rd party jar
>
> I've tried with importing and without.  When I have importing, AND I do an 
> actual class construction with explicit syntax (eg Driver driv = new 
> Driver()) prior > to the forName() resolution, it works.  Without having an 
> explicit construction statement somewhere prior to forName(), it fails...  I 
> don't actually need to use > forName() class resolution logic in my own 
> bundle, I'm just trying to sandbox the conditions occurring in the openjpa 
> bundle so I can get it working.

(sorry for the formatting, replying to the digest)

I've recently been using EclipseLink
(http://www.eclipse.org/eclipselink/) for JPA within Felix if you're
looking for an alternative to try.

Broadly it works fine, I've been able to read and write from the DB
with few dramas (most problems I've had were to do with me not knowing
how JPA works :). It seems to be sensitive to bundle loading order
(ie. you need to load the eclipselink stuff before you load your
entities), and updating a bundle that contains entities doesn't seem
to work (I usually restart the container), but apart from that I've
had no problems.

- Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to