The bank model is based on an underlying relational database. The EJBBANK database consists of the tables shown in Figure 10-2.
Figure 10-2. Bank database and tables
All the tables have a primary key. Some tables have a foreign key that relates the table to another table. The data types used in the tables are for illustration and do not represent a real banking system.
The CUSTOMER table includes all the information recorded for a bank customer (Table 10-1).