}
Class extensionPoint = this.getClass();
int cnt = extm.getExtensionCnt();
for (int i = 0; i < cnt; i++) {
Extension anExt = extm.getExtension(i);
HibernateConfigurator hibconfigure = (HibernateConfigurator) anExt.getExtensionFor(extensionPoint.getName());
if (hibconfigure != null) {
hibconfigure.extend(cfg);
extm.inform(extensionPoint, anExt, "added hibernate configuration");
}
}
// set audit interceptor that traces lastChanged