db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Jefferson <a...@jpox.org>
Subject Re: jpox cannot find sequence
Date Sun, 18 Sep 2005 07:08:42 GMT
Hi Craig,

> Andy, Erik,
>
> Is it possible to use the SimpleSequenceFactory as a sequence factory
> with JPOX? It does adhere to the specified interface and static
> newInstance method.

Yes.
Just took your sequence patch and added a metadata definition to refer to it

<sequence name="JDO2SimpleSequenceFactory" strategy="nontransactional" 
factory-class="javax.jdo.datastore.SimpleSequenceFactory"/>

and ran it - pm.getSequence(...), seq.nextValue(), etc. Worked fine.


-- 
Andy

Mime
View raw message