18 package testsuite.clusterj;
20 import java.util.Properties;
22 import com.mysql.clusterj.Constants;
24 import testsuite.clusterj.model.Employee;
28 private static final int NUMBER_TO_INSERT = 1;
32 createSessionFactory();
34 createEmployeeInstances(NUMBER_TO_INSERT);
46 Properties modifiedProperties =
new Properties();
47 modifiedProperties.putAll(props);
55 return modifiedProperties;
58 public void testFind() {
65 for (
int i = 0;
i < NUMBER_TO_INSERT; ++
i) {
74 for (
int i = 0;
i < NUMBER_TO_INSERT; ++
i) {
80 int actualId = e.getId();
82 error(
"Expected Employee.id " +
i +
" but got " + actualId);