The next and previous pattern we use in Estatio [1] is an example of a 1:1
relationship.

[1]
https://github.com/estatio/estatio/blob/master/dom/src/main/java/org/estatio/dom/lease/LeaseTerm.java#L341-L372

On Tue, Sep 16, 2014 at 10:21 AM, Dan Haywood <[email protected]>
wrote:

> We don't have a 1:1 example in Estatio, but I'm pretty sure I've seen an
> example someone else posted that did have one.
>
> Oscar, do you use 1:1 in your app?
>
> At any rate, the DataNucleus pages should help [1]
>
> Cheers
> Dan
>
> [1]
> http://www.datanucleus.org/products/datanucleus/jdo/orm/one_to_one.html
>
>
> On 16 September 2014 08:56, <[email protected]> wrote:
>
> >
> >
> > How can I define a one-on-one relationship between objects in ISIS (using
> > JDO)?
> >
> > I tried to define a key in both objects but didn't succeed... Is there an
> > example somewhere?
> >
> >
> >
> >
>

Reply via email to