Hi guys,
I've previously developed a JDO plugin for Cassandra using
Datanucleus. I'm now helping the datastax guys develop the JPA plugin
using open JPA. I'm having some trouble I would use a hand with from
developers.
Current version 2.1.0
Issue 1: Defining an identity generator at the plu
Some general comments... Extending the OpenJPA kernel for JDO is definitely
doable. The original code base (BEA's Kodo) had a JDO personality, but it
was never contributed to the OpenJPA project. At least for a period of time
(I don't know if it still is), BEA and then Oracle continued to suppor
Hey Kevin,
Thanks for the reply. To be clear, I'm not actually creating a JDO
plugin. Rather I'm migrating what I've done from JDO to JPA. The
demand for JPA is much greater in the community, and we would prefer to
use it here as well. My biggest hurdle is finding good developer
documentatio
Hi Todd,
Okay, now I understand your question. I should read more closely... :-)
Looking at your code, nothing is jumping out at me as being incorrect. You
have implemented the Seq interface, and it looks like you have designated
the sequenceName correctly. We have a junit test case that does
Awesome. Thanks for the help Kevin. I have a couple of follow up
questions.
Allocate doesn't appear to do anything in your test custom sequence
either. Is there any way to get the Open JPA framework to invoke it
without allocating during the "next" call?
https://fisheye6.atlassian.com/browse
Hi Todd,
Comments below...
On Tue, Mar 8, 2011 at 5:43 PM, Todd Nine wrote:
>
> Allocate doesn't appear to do anything in your test custom sequence
> either. Is there any way to get the Open JPA framework to invoke it without
> allocating during the "next" call?
>
> https://fisheye6.atlassian.c
Hi All,
More on the global sequence subject - you can define such a sequence in
persistence.xml like this:
Having this, you can annotate your entities with plain @GeneratedValue and your
custom sequence will be used.
As Kevin mentioned, OpenJPA does not call allocate(), however you can call