Code-Generation Techniques for Java
Subject:   Check out Middlegen
Date:   2004-03-19 07:00:48
From:   ludovicc
Middlegen is an open source project that generates your persistance layer by reading the database schema.

It generates code for EJB CMP, JDO, Hibernate, Struts.

Get it from

I use it for most of my projects, and it's a real time saver when you have to work on persistance with a relational database.