You can use IBM EJBMaker2 tools, this will generate the CMP entity bean, after generating bean you need remove some code.
Just if someone else is intrested, there was
a new sourceforge project opened just a view days ago, called middlegen.
This was exactly what I was looking for.
I am coming here after long time.
Is there any other GUI tool for EJB code generation from the database schema?