Have a look at Minuteproject
And try it's demos.
Regarding technologies
If you look for just ORM + DAO try the track BSLA-JPA2 (BSLA meaning Basic Spring Layer Architecture). It promotes mask pattern to ease search.
If you want Active record oriented persistence look at JOOQ or Roo
If you want servlets look at minuteproject 4 Openxava or 4 Primefaces
If you want portlets look at Liferay Service builder minuteproject will generate service.xml input from your DB.
Regarding your model
If you want that your code (java) follows java convention and not DB convention use minuteproject. It has enrichment facilities that allows to:
- Package entities (table/view)
- Apply entity/field naming conventions
- Apply stereotypes/constraints/validations
- retrieve relationships (one2many, many2one, many2many) if foreign keys are missing ex here
- And many more
This enrichment can be applied individually at field/entity/package or globally via conventions (So you configure your own conventions).