Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Migration > Migrating from JDBC

15.2. Migrating from JDBC

The oldest and most basic form of relational persistence with Java is JDBC. A thin layer over the programming interfaces required for communicating with a database, JDBC operations are defined primarily in terms of SQL statements. Applications that make heavy use of JDBC might be more difficult to migrate to JPA than applications that depend on entity beans.

As with entity beans, the complexity of migration depends on how tightly coupled the business logic is to the JDBC API. There are two basic issues that we need to be concerned with. The first is the amount of code that depends on the ResultSet or RowSet interfaces. The second is the amount of SQL and the role it plays in the application.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint