*/
@Override
public boolean isFixturesInstalled() {
final PersistenceSessionFactory persistenceSessionFactory = getPersistenceSessionFactory();
if (persistenceSessionFactory instanceof FixturesInstalledFlag) {
final FixturesInstalledFlag fixturesInstalledFlag = (FixturesInstalledFlag) persistenceSessionFactory;
if (fixturesInstalledFlag.isFixturesInstalled() == null) {
fixturesInstalledFlag.setFixturesInstalled(objectStore.isFixturesInstalled());
}
return fixturesInstalledFlag.isFixturesInstalled();
} else {
return objectStore.isFixturesInstalled();
}
}