The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

ken.rimple (246) [Avatar] Offline
#1
This thread is a good read...

https://jira.springsource.org/browse/ROO-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

They closed it as invalid. That's actually a good thing, because in his description of why it was invalidated, they explained that only the @RooActiveRecord annotation, which builds the entity methods in the entity itself, includes @Configurable. If you use --activeRecord false when building the entity, or replace @RooActiveRecord with @RooJpaEntity, Roo removes the @Configurable annotation.

This is very useful if you're creating a bunch of entities in a group that then get bulk sent to the JPA tier, or processed as value objects, not as entities. Basically it's pulling entities back to values for use in a service -> repository framework, elegantly.

I am really liking what the Roo team has been doing in this release. If you're a fan, you should be watching some of the commits - they're really good ones.

Ken