Hi to everybody,I'm getting start using Empire with Jena. I don't understand what I have to do to configure Empire.
Can someone give me an explanation, step by step, of what I sould do?Or link me a guide if exists, pleasethank youLorenzo
--
You received this message because you are subscribed to the Google Groups "Empire" group.
To unsubscribe from this group and stop receiving emails from it, send an email to empire-rdf+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ok thank you. I'm trying to run the example with jena-fuseki, I set the configuration as you told me, but I get this exception at runtime:
Ok thank you. I'm trying to run the example with jena-fuseki, I set the configuration as you told me, but I get this exception at runtime:Exception in thread "main" javax.persistence.PersistenceException: No EntityManagerFactory have been created in the list of '1' providers available.
What's the problem? Do I have to change anything in the Main of the example?
The idea is to use Empire to create/delete instances of classes in jena-fuseki, is it possible to this operations using Empire?
Thank you
Ok, I solved the problem and the example runs correctly now.But I have a last doubt, what parameters should I configure to persist the data on my own jena that is running somewhere?
Hi,thank you for you answers.I have this configuration right now:
0.name = jena-test-data-source0.factory = jena0.type= TDB0.localDS= jena-test-data-source0.database_rdf.url=jdbc:jena:tdb:location=MyPathToJena-Fuseki/DB
0.location=MyPathToJena-Fuseki/DBis it correct?But I still have an error:
Thank you, now it works properly.But unfortunately I still have the problem that the instances are not persisted on my running server. Would you kindly tell me wich are the properties that I have to configure in the configuration file?
And where are the instances stored if they are not stored on my fuseki?
This is the code I'm working with:System.setProperty("empire.configuration.file", "examples/examples.empire.config.properties");Empire.init(new JenaEmpireModule());EntityManager aManager = Persistence.createEntityManagerFactory("jena-test-data-source").createEntityManager();I know that are not persisted because if I try to get all the data stored on jena, it gives me empty set
System.setProperty("empire.configuration.file", "src/main/resources/framework.config.properties");
...
any clue? how to solve the issue?
thanks a lot
Baghali
Thank you
To unsubscribe from this group and stop receiving emails from it, send an email to empir...@googlegroups.com.