Subject Generate classes from database

Hi there.

It happens that some years ago I, somehow, managed to "reverse engeneered" a database for a project (and had a time to re-annonate the classes manually). That generated all tables and views.

It works nicely .

I'm in the same situtation now with a simple application, but I fail to remember how I did it.

Tried everything at hand, but no way : using a maven project, a jpa faceted project, DTP jars ...

If someone has such task fresh on head, please advice.

Thank you