O'Reilly logo

Special Edition Using Java 2 Standard Edition by Geoff Friesen, Chuck Cavaness, Brian Keeton

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

Understanding Object-to-Relational Mapping Frameworks

When you begin developing applications using JDBC, you will want to pay close attention to the design. In the previous chapter, several examples were used that persisted Java objects to a relational database. The knowledge of how to store the objects in the database was placed either in a method or in the class itself. In some cases, SQL commands were added to Insert or Update data in the database. Although using SQL directly to interact with the database will almost always work, it can become a maintenance nightmare. Although these approaches worked in the simple examples that were presented in this and the previous chapter, there are issues with both approaches, especially for larger real-world ...

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