cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [cayenne] aarrsseni commented on issue #382: Cayenne 4.2.M1 testing
Date Sat, 04 May 2019 14:04:12 GMT
aarrsseni commented on issue #382: Cayenne 4.2.M1 testing
URL: https://github.com/apache/cayenne/pull/382#issuecomment-489329882
 
 
   There is fix for Ant cgen task https://github.com/apache/cayenne/commit/45877e8e7cbe51758120162ef83a72160332d9b3
   Now you can provide custom properties.
   - First create your property
   - Create PropertyDescriptorCreator
   - Create autoloaded module with 
   **CgenModule.contributeUserProperties(binder)               .insertBefore(CustomPropertyDescriptorCreator.class,NumericPropertyDescriptorCreator.class);**
   - Then build jar and put it to libs folder
   This is short example of custom property https://github.com/aarrsseni/custom-property-example

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


With regards,
Apache Git Services

Mime
View raw message