I'd like to tell seam-gen what to name generated entities for tables. I tried adding lines like this:
but the generated class was still ...Groups and then the plural got pluralized in sets....
Is there a way to make this override hapen? I ended up doing a generate-model, renaming everything (ick!) and doing a generate-ui.
I'm also making an enhancement request for seam-gen to create entity-based labels like the ones it uses for their properties.
That should work but I have the same issue in one of my projects that's using postgresql. There is another way to do it. You can implement your own DelegatingReverseEngineeringStrategy and override the tableToClassName implementation.
You can have it check that the table ends in s and then remove it.