[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
|
On Wed, 07 Jan 2009 16:51:06 +0100, Tom Ware <tom.ware@xxxxxxxxxx> wrote:
In OSGi, dynamic weaving will be enabled if you have the
org.eclipse.persistence.jpa.equinox.weaving and
org.eclipse.persistence.jpa.equinox bundles deployed. If you do not
have those bundles deployed, we cannot weave dynamically as we do not
have the necessary classloader hooks.
If you are interested in getting EclipseLink running I'd love to help
you out. The first thing we should do is figure out whether the issue
you are seeing is related to weaving behavior, caching behavior, or
OSGi. If the objects are weaved, in your debugger, you will see a
number of new variables, with names starting with "_persistence". If
you do not see those variables, there is something else going on.
Please let me know if you you'd like some help getting EclipseLink
working,
Thanks for your offer Tom. I will come back to it when I start working on
the app again.
btw: Will EclipseLink offer dynamic adding/removing of Entities to the
EntityManager during runtime?
In OSGi I would like to add and remove new Entities to the running system,
without restarting the app.
Dynamic-JPA allows that to a certain degree. With Hibernate I wrote myself
a little helper that recreated the EM each time the bundle configuration
changed. But I was under the impression JPA would already do that, which
it does not, to my surprise.
Phil
- References:
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- From: Chiovari Cristian Sergiu
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving
- Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving