As Spring Roo guide here to do DBRE on a schema, we have the below command to generate the entities and theirs related files.
We there can choose between taking the argument --activerecord or --repository; choosing the later will ignore the first.
My question is what are the differences between the two?
roo> database reverse engineer --schema DbSchemaName --package ~.domain --activeRecord --repository --service --testAutomatically --enableViews --includeTables --excludeTables --includeNonPortableAttributes --disableVersionFields --disableGeneratedIdentifiers
Use the --activeRecord option to create 'Active Record' entities (default if not specified).
Use the --repository option to create Spring Data JPA Repositories for each entity. If specified as true, the --activeRecord option is ignored.