Is there any need for below annotation in Persona.java @Inheritance(strategy=InheritanceStrategy.NEW_TABLE)
Also, I see reference of SimplObjectMenu which does not exists. You may also want to rename SimpleObject.layout.xml to Persona.layout.xml I will try and see if I can fix it for you and share you the changes. Thanks, Jayesh On Wed, Aug 29, 2018, 19:14 chidii....@live.com.ar <chidii....@live.com.ar> wrote: > > > On 2018/08/29 06:05:10, Stephen Cameron <steve.cameron...@gmail.com> > wrote: > > Case sensitive file names? > > > > On Wednesday, August 29, 2018, chidii....@live.com.ar < > > chidii....@live.com.ar> wrote: > > > > > > > > > > > On 2018/08/28 22:14:11, Stephen Cameron <steve.cameron...@gmail.com> > > > wrote: > > > > You have to use setters everywhere, that is the way DataNucleus does > its > > > > magic, at the class level it has enhanced the getters and setters to > > > manage > > > > persistence. > > > > > > > > so instead of > > > > this.domicilio = domicilio; > > > > > > > > use > > > > this.setDomicilio(domicilio); > > > > > > > > On Wed, Aug 29, 2018 at 7:44 AM chidii....@live.com.ar < > > > > chidii....@live.com.ar> wrote: > > > > > > > > > We’re trying to do a 1-1 relation between a class Person and a > class > > > > > Address but when we make this relation and we prove it on the Web > > > Layout > > > > > the Addres value stay at “none” no mather what we do even if we > first > > > > > créate the object Address. > > > > > > > > > > You can see our Project at: > > > > > https://github.com/Practica2-Ifes/MantenimientoPredictivo/ > > > tree/ClasePersona > > > > > > > > > > Thanks for the help. > > > > > > > > > > > > > > Hi thenks for replying, we just changed all the setters and getter > and > > > the constructors (we were using lombok but we didn't know if it is good > > > we're newbies at isis) still the domicilio layout don't show when we > create > > > an object of the type Domicilio. Any others ideas? Thanks again. > > > > > How that could affect the relation between Classes? I think we're > missing some Isis annotation or datanucleus but can't see where and in > documentación i have no example of a 1-1 unidireccional relation to follow > and i can't fondo any examples on the internet >