Start by figuring out a design, then proving the design is at least qualitatively superior. While what they've done has issues, the solution to their problem is not likely an ORM.
Java Persistence API: A look deeper The Java Persistence API is a lightweight, POJO-based framework for object-relational mapping. The mapping between Java objects and a relational database is ...