Model simple Statements based on ClassDescriptor and/or PrimaryKey
author: Jakob Braeuchi version: $Id: SqlPkStatement.java,v 1.5.2.2 2005/12/21 22:23:44 tomdz Exp $
Generate a where clause for a prepared Statement.
Only primary key and locking fields are used in this where clause
Parameters: cld - the ClassDescriptor Parameters: useLocking - true if locking fields should be included Parameters: stmt - the StatementBuffer