use of com.orientechnologies.orient.object.metadata.OMetadataObject in project orientdb by orientechnologies.
the class OObjectDatabaseTx method open.
@Override
public <THISDB extends ODatabase> THISDB open(OToken iToken) {
super.open(iToken);
entityManager.registerEntityClass(OUser.class);
entityManager.registerEntityClass(ORole.class);
metadata = new OMetadataObject((OMetadataInternal) underlying.getMetadata());
return (THISDB) this;
}
use of com.orientechnologies.orient.object.metadata.OMetadataObject in project orientdb by orientechnologies.
the class OObjectDatabaseTx method open.
@Override
public <THISDB extends ODatabase> THISDB open(String iUserName, String iUserPassword) {
super.open(iUserName, iUserPassword);
entityManager.registerEntityClass(OUser.class);
entityManager.registerEntityClass(ORole.class);
metadata = new OMetadataObject((OMetadataInternal) underlying.getMetadata());
return (THISDB) this;
}
Aggregations