try {
return initializeState(sm, state, (JDBCFetchConfiguration)fetch, info);
} catch (ClassNotFoundException e) {
throw new ClusterJFatalInternalException(local.message("ERR_Implementation_Should_Not_Occur"), e);
} catch (SQLException e) {
throw new ClusterJDatastoreException(local.message("ERR_Datastore_Exception"), e);
}
}
// otherwise, load from the datastore
// TODO: support user-defined oid types
OpenJPAId id = (OpenJPAId)sm.getId();