Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

iBATIS Article on

If you've heard of iBATIS, but never had the time to look into it, there's a good intro article on Object-Relational Mapping with SQLMaps. iBATIS continues to be my persistence framework-of-choice when Hibernate doesn't mesh with the database schema. Now if we could just get someone to write a Middlegen Plugin to generate POJOs and SQL Maps from database schemas. ;-)

Posted in Java at Feb 03 2005, 06:35:03 AM MST 6 Comments

So you are using Hibernate as choice #1 ?

Posted by mikk on February 03, 2005 at 07:54 AM MST #

Yes, AppFuse uses Hibernate as its default persistence framework. It also allows you to install iBATIS - which can live side-by-side with Hibernate, or you can choose to remove Hibernate all together. I've found that Hibernate works well when I have full-control over the database schema. However, complicated (or heavily-normalized) schemas are easier with iBATIS. Also, migrating from pure JDBC to iBATIS is a lot easier than pure JDBC -> Hibernate.

I do realize Hibernate 3 supports iBATIS-like operations, but I haven't had a chance to play with it.

Posted by Matt Raible on February 03, 2005 at 08:12 AM MST #

I suppose that you could just build your own too. I built a simple ORM tool that generates a DAO/VO mapping using the Velocity template engine and some of the common apache libraries. It's pretty easy to extract the schema for the systems tables. The product is a simple, clean JDBC wrapper without layers of abstraction.

Posted by on February 03, 2005 at 09:12 AM MST #

As much as time is an issue. If you can send me some sample of what you would want created from Middlegen (as much details as possible) and I will be able to build a plugin for Middlegen no problem.

Posted by David Channon on February 03, 2005 at 04:08 PM MST #

I've developped a basic Middlegen plugin for iBatis persistence layer that generates - Mapping XML file : SELECT BY PK/INSERT/UPDATE/DELETE and ResultMap - Java Bean If you're interested, you can get the source code at the RFE section of middlegen sourceforge project with id 1202421. Philippe Mouawad. Ubik-Ingénierie

Posted by Philippe Mouawad on May 15, 2005 at 12:38 PM MDT #

Very nice

Posted by Nilay Sundarkar on February 29, 2008 at 07:20 AM MST #

Post a Comment:
  • HTML Syntax: Allowed