Revision 2f40d160
Von Christian Ehringfeld vor mehr als 9 Jahren hinzugefügt
src/entitymanager.cpp | ||
---|---|---|
EntityInspector inspector = EntityInspector(msgType);
|
||
inspector.checkRegisteredEntities();
|
||
}
|
||
QString loggerFile = "em" + this->objectName() + ".log";
|
||
QString loggerFile = this->objectName() + ".log";
|
||
loggerFile.replace("[", "");
|
||
loggerFile.replace("]", "");
|
||
this->logger = QSharedPointer<Logger>(new Logger(QDir::currentPath() + "/" +
|
src/logger.cpp | ||
---|---|---|
msg.append("\n");
|
||
}
|
||
stream << msg;
|
||
this->outputToConsole(type, msg.replace("\"", "'"));
|
||
this->outputToConsole(type, msg.replace("\"", "'").replace("\n", ""));
|
||
stream.flush();
|
||
log.close();
|
||
}
|
src/querybuilder.cpp | ||
---|---|---|
const QSharedPointer<Entity> &entity)
|
||
const {
|
||
auto relations = QHash<QString, QHash<QString, QString>>();
|
||
// QHash<QString, Relation> m = (entity->getInheritanceStrategy() ==
|
||
// InheritanceStrategy::PER_CLASS_TABLE ? entity->getRelations() :
|
||
// EntityHelper::getNonInheritedRelations(entity.data()));
|
||
//QHash<QString, Relation> m = (entity->getInheritanceStrategy() ==
|
||
// InheritanceStrategy::PER_CLASS_TABLE ? entity->getRelations() :
|
||
// EntityHelper::getNonInheritedRelations(entity.data()));
|
||
QHash<QString, Relation> m = entity->getRelations();
|
||
auto props = EntityHelper::getMetaProperties(entity.data());
|
||
for (auto i = m.begin(); i != m.end(); ++i) {
|
Auch abrufbar als: Unified diff
logger