is is the next available id. I can't change the
behaviour of the old system, so I'm looking for a solution in the
OpenJPA System.
I've been looking for a way to implement a custom id generator, but i
can't find any working example. Is it even possible to implement a
custom generator?
Regards
Malte
The OpenJPA table-id-generator assumes
> that this is the next available id. I can't change the behaviour of the old
> system, so I'm looking for a solution in the OpenJPA System.
>
> I've been looking for a way to implement a custom id generator, but i
> can't find
rator
assumes that this is the next available id. I can't change the behaviour
of the old system, so I'm looking for a solution in the OpenJPA System.
I've been looking for a way to implement a custom id generator, but i
can't find any working example. Is it even possib
tributes, not just "id" attributes. And, OpenJPA also
> provides
> > for UUID generation, if that's desired.
> >
> > Good luck,
> > Kevin
> >
> > [1]
> >
> http://openjpa.apache.org/builds/latest/docs/manual/manual.html#jpa_overview_meta_gen
>
a_gen
>
> On Mon, Oct 12, 2009 at 6:59 AM, yokenji wrote:
>
>>
>> HI,
>>
>> I moved from Hibernate to OpenJPA.
>> In hibernate i used the IdentifierGenerator to create a custom id.
>> Is there someone who can give me an example how to do it in OpenJ
gt; --
> View this message in context:
> http://n2.nabble.com/Custom-ID-generator-tp3807523p3807523.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
Google for magazineid, there is a good example.
-Original Message-
From: yokenji [mailto:kenji2...@gmail.com]
Sent: Monday, 12 October 2009 11:00 PM
To: users@openjpa.apache.org
Subject: Custom ID generator
HI,
I moved from Hibernate to OpenJPA.
In hibernate i used the
HI,
I moved from Hibernate to OpenJPA.
In hibernate i used the IdentifierGenerator to create a custom id.
Is there someone who can give me an example how to do it in OpenJPA.
Greets K,
--
View this message in context:
http://n2.nabble.com/Custom-ID-generator-tp3807523p3807523.html
Sent from