Edmond,
If you are asking how to do this with the MyEclipse tool, it does not support that direction of generation. Currently ME supports generation From the DB to Class file and HBM files, from there you may manually adjust any of these resources, but keep in mind your changes will be overwritten next time you generate (unless you made changes to the concrete class that is created for you by the tool).