You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/06/03 19:27:29 UTC

[GitHub] [geode] agingade commented on pull request #5637: GEODE-8626: Omitting field-mapping tag of cache.xml when using Simple JDBC Connector

agingade commented on pull request #5637:
URL: https://github.com/apache/geode/pull/5637#issuecomment-854120507


   @masaki-yamakawa 
   My worry is abandoning the xml support in near future. If you insist to go with this approach, its fine with me.
   
   One change that could help code maintainability is moving your changes (which is duplicate of the code/logic from CreateMappingPreconditionCheckFunction) to RegionMapping as helper methods and then accessing it from both place. 
   
   E.g.:
   if (mapping.getFieldMappings().isEmpty() && mapping.getPdxName != null) {
     mapping.createMappingUsingPdx();
   }
   
   


-- 
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