Hibernate and Middlegen revisited tools 15649 6401

Hibernate and Middlegen revisited

In my last two posts (Hibernate + Middlegen Roundtrip Development applied and Hibernate: dealing with lazy loading inevitable), I explained how to construct a J2EE application bottom-up using Hibernate and Middlegen.

It turns out that you can and actually should optimize the generated .hbm and .java files by Middlegen. I found this information in Hibernate / Middlegen – Inheritance and Many To Many v1.0, which offers an outstanding explanation and example.

Although I did not read the preceding Hibernate / Spring / Middlegen / XDoclet Tutorial v1.5 yet, it definitely seems worth checking out as well.