slices, persist?

2008-11-21 Thread Fernando Padilla
Still reviewing code :) So I'm looking over this, and it seems like within one DistributedBrokerImpl, you can only persist against one slice. Since the _rootSlice is set on the very first object that it tries to persist, and never again. So I'm new here, so I am assuming that one Broker is

Re: [jira] Resolved: (OPENJPA-778) cleaning up build for openjpa-kernel

2008-11-21 Thread Fernando Padilla
should be ok, i don't think java complains about empty files :) yah, for some reason svn diff doesn't generate actual delete/add files properly, maybe I have to add a command line flag or something. thank you!! :) Michael Dick wrote: Weird, the diff looked like it was a delete but all it d

Re: [jira] Resolved: (OPENJPA-778) cleaning up build for openjpa-kernel

2008-11-21 Thread Michael Dick
Weird, the diff looked like it was a delete but all it did was empty the file. Good catch. I'm just re-running the tests in case I messed something up. -mike On Fri, Nov 21, 2008 at 3:50 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote: > hey :) you have to do: > > svn rm > openjpa-kernel/src/mai

Re: [jira] Resolved: (OPENJPA-778) cleaning up build for openjpa-kernel

2008-11-21 Thread Fernando Padilla
hey :) you have to do: svn rm openjpa-kernel/src/main/java/org/apache/openjpa/kernel/jpql/ParseException.java Michael Dick (JIRA) wrote: [ https://issues.apache.org/jira/browse/OPENJPA-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPE

[jira] Resolved: (OPENJPA-778) cleaning up build for openjpa-kernel

2008-11-21 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPENJPA-778. -- Resolution: Fixed Fix Version/s: 2.0.0 1.3.0 Thanks for the patch!

[jira] Assigned: (OPENJPA-780) code review for DistributedStoreManager

2008-11-21 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick reassigned OPENJPA-780: Assignee: Michael Dick > code review for DistributedStoreManager > ---

[jira] Reopened: (OPENJPA-780) code review for DistributedStoreManager

2008-11-21 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick reopened OPENJPA-780: -- resolved the wrong issue, sorry. > code review for DistributedStoreManager > ---

[jira] Resolved: (OPENJPA-780) code review for DistributedStoreManager

2008-11-21 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick resolved OPENJPA-780. -- Resolution: Fixed Fix Version/s: 2.0.0 1.3.0 Thanks very much for th

[jira] Assigned: (OPENJPA-778) cleaning up build for openjpa-kernel

2008-11-21 Thread Michael Dick (JIRA)
[ https://issues.apache.org/jira/browse/OPENJPA-778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick reassigned OPENJPA-778: Assignee: Michael Dick > cleaning up build for openjpa-kernel > --

slices, collocation

2008-11-21 Thread Fernando Padilla
So, now that I have some attention, I'll post up a question I sent out a month ago. I want to make a connected datamodel, but I want to put objects on different databases.. Let's say I have 3 objects: User (slice root) - name Group (slice root) - name - users Comment (slice grouped with

Re: internal-repository??

2008-11-21 Thread David Jencks
On Nov 21, 2008, at 10:36 AM, Fernando Padilla wrote: Cool. It was just a little bit weird. And I finally realized that it was not distributed with the binary, but it is being distributed with all sources... I just wish things were cleaner, and all dependencies were from an authoritati

Re: internal-repository??

2008-11-21 Thread Fernando Padilla
Cool. It was just a little bit weird. And I finally realized that it was not distributed with the binary, but it is being distributed with all sources... I just wish things were cleaner, and all dependencies were from an authoritative source, etc etc. I wonder if we can talk to IBM for them

Re: openjpa-slices

2008-11-21 Thread Fernando Padilla
cool. Another idea/question. The DistributedConnection/DistributedStatement classes all still do sequential execution of the queries against the database. And I wanted to know if there was a technical reason not to move them to use the "ParallelExecutor" design pattern used in the Distribut

Re: openjpa-slices

2008-11-21 Thread Fernando Padilla
Yeah. I was riding in today and I was thinking about the Replication feature. I was thinking the same thing about how the Replication slices and the Distribution slices look a lot a like.. and I was wondering maybe I didn't see the motivating use-case for the replication feature. So for me t

Re: openjpa-slices

2008-11-21 Thread Pinaki Poddar
Hi, > I have finished walking through the whole slices code, and it looks good. "Proof of the pudding is in eating" :) > I think we need to have a plugin to figure out the slice targets the > queries run against. Currently this is > supported through query "hints", > but I think that is a really

Re: openjpa-slices

2008-11-21 Thread Pinaki Poddar
Hi, > So I was wondering if anyone is actively maintaining the slices > implementation? Yes. I have still not severed the umbilical cord with Slice :) > My company, we are going to be doing a big bet on sharding and OpenJPA, so > I would probably be giving feedback, ideas and patches towards t

Re: internal-repository??

2008-11-21 Thread Michael Dick
Hi all, Obviously IANAL. I think that my comments in the pom.xml file are poorly worded though and are not in line with the actual license. What I was trying to convey is that we do not include this jar or any of it's classes with the compiled binaries of OpenJPA. What I did not consider is that

Re: internal-repository??

2008-11-21 Thread David Jencks
On Nov 20, 2008, at 10:06 PM, Craig L Russell wrote: Hi Fernando, On Nov 20, 2008, at 4:56 PM, Fernando Padilla wrote: So I'm trying to setup my environment to do openjpa development.. Reviewing pom files I ran into this under openjpa-kernel. It looks like it brings along a mini embedded