You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by GitBox <gi...@apache.org> on 2020/09/10 07:04:22 UTC

[GitHub] [cayenne] KravchenkoAS opened a new pull request #434: Added the ability to use lazy attributes in a ROP project

KravchenkoAS opened a new pull request #434:
URL: https://github.com/apache/cayenne/pull/434


   Added the ability to use lazy attributes in a ROP project. For the correct operation of "ROP", it was possible to transfer objects of the "Fault" type to the client.
   
   Client Persistent Object generation templates have been changed.The Object attribute type is generated if the object is lazy. Added check for type Fault in the get methods.
   
   If you are using "Lazy Attributes", then the error "The serialized class org.apache.cayenne.exp.property.BaseProperty must implement java.io.Serializable", so in the "HessianConfig" class in the "createFactory" method, after defining the factory, you must specify factory.setAllowNonSerializable (true).
   
   There is no serialization error when using "cayenne-protostuff" instead of "hessian".


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cayenne] asfgit merged pull request #434: Added the ability to use lazy attributes in a ROP project

Posted by GitBox <gi...@apache.org>.
asfgit merged pull request #434:
URL: https://github.com/apache/cayenne/pull/434


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org