This file contains the definition of the data model in Java. The SampleDB data model consists of two tables and a foreign key relation. The tables are defined as nested classes here, but you may put the in separate files if you want. PLEASE NOTE THE NAMING CONVENTION: Since all tables, views and columns are declared as "final" constants they are all in upper case. We recommend using a prefix of T_ for tables and C_ for columns in order to keep them togehter when listed in your IDE's code completition. There is no need to stick to this convention but it makes life just another little bit easier. You may declare other database tables or views in the same way.
|
|
|
|
|
|
|
|