18 package testsuite.clusterj;
20 import com.mysql.clusterj.ClusterJUserException;
21 import testsuite.clusterj.model.BadEmployeeWrongPrimaryKeyAnnotationOnClass;
22 import testsuite.clusterj.model.BadEmployeeNoPrimaryKeyAnnotationOnClass;
23 import testsuite.clusterj.model.BadEmployeePrimaryKeyAnnotationColumnAndColumns;
24 import testsuite.clusterj.model.BadEmployeePrimaryKeyAnnotationNoColumnOrColumns;
25 import testsuite.clusterj.model.BadEmployeePrimaryKeyAnnotationOnClassMisspelledField;
26 import testsuite.clusterj.model.BadIndexDuplicateColumn;
27 import testsuite.clusterj.model.BadIndexDuplicateIndexName;
28 import testsuite.clusterj.model.BadIndexMissingColumn;
34 createSessionFactory();
50 public void doTestFor(Class<?> cls) {
53 error(
"failed to throw exception for " + cls.getName());
54 }
catch (ClusterJUserException ex) {
57 System.out.println(ex.getMessage());