Hi,
I am trying to play around with relations in nuxeo and was trying to get the
lesson_relation sample project build and run. I also tried to create some
relations between the "Upcoming event" and some photos using the JUnit-based
testcases(RepositoryOSGITestCase), but it is not working since the jena
configuraion is broken. The problem is the datasource which I tried to specify
as follows:
<extension target="org.nuxeo.ecm.platform.relations.services.RelationService"
point="graphs">
<documentation>see http://jena.sourceforge.net/DB/</documentation>
<graph name="default" type="jena">
<option name="backend">sql</option>
<option name="databaseType">
HSQLDB
</option>
<option name="datasource">jdbc:hsqldb:mem:testme</option>
<option name="databaseDoCompressUri">false</option>
<option name="databaseTransactionEnabled">
true
</option>
<namespaces>
<namespace name="rdf">
http://www.w3.org/1999/02/22-rdf-syntax-ns#
</namespace>
<namespace name="dcterms">http://purl.org/dc/terms/</namespace>
<namespace name="nuxeo">http://www.nuxeo.org/document/uid/</namespace>
</namespaces>
</graph>
</extension>
However the *datasource* element is not what it is supposed to.
Once again, please have in mind this is *not JBoss* installation, it is a JUnit
test case.
Can anyone help me with this?
Best regards,
Petar
--
Posted by "pshomov" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2940#8615>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm