O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

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 6. Creating the Database Schema and Populating Data

IN THIS CHAPTER

At this point, you should have a good idea of how an application will be represented in Java objects—you're halfway there. But Java objects by themselves have no permanence, so you'll need to back up some of them with database records to hold their data for long-term retrieval.

In this chapter, you'll learn how to design and populate a database schema that can interact with JSP. As you'll see, sometimes a single Java object maps to a single table, and sometimes it maps to several. In addition, you'll see how MySQL handles sequences and you'll learn the special requirements that this imposes ...

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