Chapter 9 Working with Object-Oriented Models


Primary key class definition

The following check applies to Entity Beans only.

The primary key class must be declared as public and must define a public constructor that takes no arguments.

Manual correction Automatic correction
Change the method visibility to public and add a default constructor in the primary key class Changes the method visibility to public and adds a default constructor in the primary key class

 


Copyright (C) 2006. Sybase Inc. All rights reserved.