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: [email protected]
