Re: entity manager aggregation?

2010-07-20 Thread jamie campbell
On 10-07-19 07:56 AM, Timothy Ward wrote: Hi Jamie, I'm a little confused as to your requirements. It sounds as though you are trying to add new Entities (with relationships to existing entities) to an existing EntityManager at runtime. As the JPA service specification requires the managed cl

Re: entity manager aggregation?

2010-07-19 Thread jamie campbell
On 10-07-19 07:56 AM, Timothy Ward wrote: Hi Jamie, I'm a little confused as to your requirements. It sounds as though you are trying to add new Entities (with relationships to existing entities) to an existing EntityManager at runtime. As the JPA service specification requires the managed cl

entity manager aggregation?

2010-07-16 Thread jamie campbell
I'm trying to get a system working whereby different bundles are able to register different entities. The first thing I researched was whether there's a way to add new persistable entities to an entity manager at runtime. If that can be done then, problem solved. But I can't find a way to do

Re: using the blog sample

2010-07-10 Thread jamie campbell
Valentin: Hyperlinkification complete Bartek: 1) I had a peek at it. The only unfortunate thing is that it sort of trades complexities. For the purposes of the tutorial I'd prefer to have a simple 4 lines in the dependencySets section of the assembly descriptor, rather than a section 155

configurable blueprints

2010-06-30 Thread jamie campbell
This might be a stupidly easy question or an unsolveable one. I googled, checked the r4.core and r4.cmpn , and the felix and aries sites, wasn't able to find the answer. I'm trying to take the next logical step with openjpa in karaf : a configurable datasource. The blog sample has a blueprin

using the blog sample

2010-06-29 Thread jamie campbell
Valentin, Bartoz, Thanks for your helpful comments. I got things working (I think) and wrote up a tutorial based on the adventure, at http://parit.ca/documentation/tutorials/apache/aries/openjpa-karaf-aries-derby-blog-sample .. it's an unformatted plain text monstrosity, but, hopefully has so

using the blog sample

2010-06-24 Thread jamie campbell
Hello, I'm trying to get the blog sample (specifically with jpa persistence) working within felix/karaf 1.6.0 .. if docs on how to do this already exist, then I'd love a link to them. Otherwise.. here's what I've got so far.. my startup.properties file has "the usual", then at the end I have