EntityPK pkBean = null;
Random rnd = new Random(System.currentTimeMillis());
int anInt = rnd.nextInt(10);
int other = rnd.nextInt(10000);
AComplexPK pk = new AComplexPK(true, anInt, 100, 1000.0, "Marc");
// Let's try to find the instance
try
{
pkBean = pkHome.findByPrimaryKey(pk);
}