getPM();
try {
pm.currentTransaction().begin();
Query q = pm.newQuery(PCPoint.class);
q.setDatastoreWriteTimeoutMillis(timeout);
q.deletePersistentAll();
pm.currentTransaction().commit();
if (!isDatastoreTimeoutSupported()) {
fail(ASSERTION_FAILED, "Query.setDatastoreWriteTimeoutMillis should throw a " +
"JDOUnsupportedOptionException, if datastore timeout is not supported ");
}