*/
public Db4oType db4oTypeStored(Transaction trans, Object obj) {
if (!(obj instanceof Db4oDatabase)) {
return null;
}
Db4oDatabase database = (Db4oDatabase) obj;
if (getYapObject(obj) != null) {
return database;
}
showInternalClasses(true);
try {
return database.query(trans);
} finally {
showInternalClasses(false);
}
}