You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Carlos <ca...@tellmegen.com> on 2015/04/28 10:19:10 UTC

tellmeGen - Datanucleus 4 issue

Hello,
 
Saturday I installed last ISIS version with DN4 and now I have some problems
using "import org.datanucleus.identity.OIDImpl;" (It does not exits in new
version I think) and if I comment it I get this error:


Error: Could not find or load main class
org.datanucleus.enhancer.DataNucleusEnhancer


Thanks very much.

Regards,
Carlos.



Director de sistemas informáticos
Calle Arquitecto mora 5, puerta 4
46022, Valencia
Tlf: +34 669 70 20 05


Re: tellmeGen - Datanucleus 4 issue

Posted by GESCONSULTOR - Óscar Bou <o....@gesconsultor.com>.
Hi, Dan and Carlos.

I’ve just committed on Carlos project different issues found when migrating to DN4. Summarizing:
- OIDImpl DN3 class has been replaced by DatastoreIdImpl DN4 class.
- DN4 verifies and creates @Unique constraints. Seems DN3 didn’t support them well.
- I had a test not passing due to a managed 1-n relationship not updating the collection side. Finally I’ve decided to simply add to the collection, in addition to execute the setXX(…) and the getContainer().flush() method (to force DN to manage relationships). But not sure if this is a more generic issue with DN4 regarding managed relationships (or simply some hidden error on our domain) ...

@Dan
If you have time, please, verify the commits made. But currently compiling and all tests passing again, so I would propose to merge with master.

Thanks,

Oscar


> El 28/4/2015, a las 10:37, Carlos <ca...@tellmegen.com> escribió:
> 
> Hi Dan!
> 
> Thank you very much! I will create a new branch named DN4issue in order you can
> fight with the problem :)
> 
> Regards,
> Carlos.
> 
> 
> PS: Subscribed! (Forgot to send email confirmation hehe)
> 
> 
> Director de sistemas informáticos
> Calle Arquitecto mora 5, puerta 4
> 46022, Valencia
> Tlf: +34 669 70 20 05
> 
> 
> 
>> El 28 de abril de 2015 a las 10:26 Dan Haywood <da...@haywood-associates.co.uk>
>> escribió:
>> 
>> Hi Carlos
>> 
>> I'll take a look this evening, see if I can provide a bit of guidance. Could
>> you commit to a branch so I can pull down the version of the app with the
>> problem?
>> 
>> Cheers
>> Dan
>> 
>> PS: could you subscribe to this mailing list so I don't have to manually
>> approve your posts? thx.
>> 
>> 
>> On 28 April 2015 at 09:19, Carlos <carlos.sanchez@tellmegen.com
>> <ma...@tellmegen.com> > wrote:
>>>> Hello,
>>> 
>>>   Saturday I installed last ISIS version with DN4 and now I have some
>>> problems
>>>   using "import org.datanucleus.identity.OIDImpl;" (It does not exits in
>>> new
>>>   version I think) and if I comment it I get this error:
>>> 
>>> 
>>>   Error: Could not find or load main class
>>>   org.datanucleus.enhancer.DataNucleusEnhancer
>>> 
>>> 
>>>   Thanks very much.
>>> 
>>>   Regards,
>>>   Carlos.
>>> 
>>> 
>>> 
>>>   Director de sistemas informáticos
>>>   Calle Arquitecto mora 5, puerta 4
>>>   46022, Valencia
>>>   Tlf: +34 669 70 20 05 <tel:%2B34%20669%2070%2020%2005>
>>>> 
> 


Óscar Bou Bou
Responsable de Producto
Auditor Jefe de Certificación ISO 27001 en BSI
CISA, CRISC, APMG ISO 20000, ITIL-F

   902 900 231 / 620 267 520
   http://www.twitter.com/oscarbou <http://www.twitter.com/oscarbou>

   http://es.linkedin.com/in/oscarbou <http://es.linkedin.com/in/oscarbou>

   http://www.GesConsultor.com <http://www.gesconsultor.com/> 




Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona.
Su dirección de correo electrónico junto a sus datos personales constan en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de mantener el contacto con Ud. Si quiere saber de qué información disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan virus informáticos, y en caso que los tuvieran eliminarlos.






Re: tellmeGen - Datanucleus 4 issue

Posted by Carlos <ca...@tellmegen.com>.
Hi Dan!

Thank you very much! I will create a new branch named DN4issue in order you can
fight with the problem :)

Regards,
Carlos.


PS: Subscribed! (Forgot to send email confirmation hehe)


Director de sistemas informáticos
Calle Arquitecto mora 5, puerta 4
46022, Valencia
Tlf: +34 669 70 20 05

 

> El 28 de abril de 2015 a las 10:26 Dan Haywood <da...@haywood-associates.co.uk>
> escribió:
> 
>  Hi Carlos
>   
>  I'll take a look this evening, see if I can provide a bit of guidance. Could
> you commit to a branch so I can pull down the version of the app with the
> problem?
>   
>  Cheers
>  Dan
>   
>  PS: could you subscribe to this mailing list so I don't have to manually
> approve your posts? thx.
>   
> 
>  On 28 April 2015 at 09:19, Carlos <carlos.sanchez@tellmegen.com
> <ma...@tellmegen.com> > wrote:
>    > > Hello,
> > 
> >    Saturday I installed last ISIS version with DN4 and now I have some
> > problems
> >    using "import org.datanucleus.identity.OIDImpl;" (It does not exits in
> > new
> >    version I think) and if I comment it I get this error:
> > 
> > 
> >    Error: Could not find or load main class
> >    org.datanucleus.enhancer.DataNucleusEnhancer
> > 
> > 
> >    Thanks very much.
> > 
> >    Regards,
> >    Carlos.
> > 
> > 
> > 
> >    Director de sistemas informáticos
> >    Calle Arquitecto mora 5, puerta 4
> >    46022, Valencia
> >    Tlf: +34 669 70 20 05 <tel:%2B34%20669%2070%2020%2005>
> >  > 


Re: tellmeGen - Datanucleus 4 issue

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Carlos

I'll take a look this evening, see if I can provide a bit of guidance.
Could you commit to a branch so I can pull down the version of the app with
the problem?

Cheers
Dan

PS: could you subscribe to this mailing list so I don't have to manually
approve your posts?  thx.


On 28 April 2015 at 09:19, Carlos <ca...@tellmegen.com> wrote:

> Hello,
>
> Saturday I installed last ISIS version with DN4 and now I have some
> problems
> using "import org.datanucleus.identity.OIDImpl;" (It does not exits in new
> version I think) and if I comment it I get this error:
>
>
> Error: Could not find or load main class
> org.datanucleus.enhancer.DataNucleusEnhancer
>
>
> Thanks very much.
>
> Regards,
> Carlos.
>
>
>
> Director de sistemas informáticos
> Calle Arquitecto mora 5, puerta 4
> 46022, Valencia
> Tlf: +34 669 70 20 05
>
>