O'Reilly logo

Java™ Oracle® Database Development by David J. Gallardo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Object-Relational Mapping and Java Data Objects

The major premise of this book is that when we design an application in Java, we often find that we need to rely on a relational database in order to store our data. In fact, the majority of business applications are nothing more than a user interface for maintaining data stored in a database.

Throughout this book, we've explored a number of approaches to the problem of using data in the object-oriented environment of Java that we retrieve and store in a relational database.

At one end of the spectrum of approaches is direct database access from Java classes, where we embed relational queries using SQL in our Java code, and map the data to Java objects on an ad-hoc basis (or consume ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required