NIHVIVO-119 Tweak the code for initialAdminUser -- User is a Resource, not a Literal.

This commit is contained in:
jeb228 2010-02-23 22:42:57 +00:00
parent 6a13e272e7
commit 57f41f833f

View file

@ -165,7 +165,7 @@ public class JenaDataSourceSetupBase {
+ "defaultAdminUser"); + "defaultAdminUser");
model.add(model.createStatement(user, model model.add(model.createStatement(user, model
.createProperty(VitroVocabulary.RDF_TYPE), model .createProperty(VitroVocabulary.RDF_TYPE), model
.createLiteral(VitroVocabulary.USER))); .getResource(VitroVocabulary.USER)));
model.add(model.createStatement(user, model model.add(model.createStatement(user, model
.createProperty(VitroVocabulary.USER_USERNAME), model .createProperty(VitroVocabulary.USER_USERNAME), model
.createTypedLiteral(initialAdminUsername))); .createTypedLiteral(initialAdminUsername)));