Preface

I got into Hibernate because I'm lazy. Specifically, I got tired of writing my own systems to bridge my Java applications and relational databases. I write both Swing and server-based applications; I can't assume (nor do I enjoy) the complexity of EJB container-managed persistence. I hate writing SQL when all I really want to do is write Java code. I really don't like writing endless pages of mindless code, loading my JDBC results into Java objects and back.

Simply put, Hibernate solves all of these problems for me, and it does so in a fast, flexible manner. I can use it with Swing, JSP, or as an EJB BMP solution. I can test my code outside of a container. I can even use it to manage my database schema.

Regardless of your background—whether ...

Get Hibernate: A J2EE™ Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.