@Namespaces({"frbr", "http://vocab.org/frbr/core#"})
@Entity
@RdfsClass("frbr:Expression")
I like how the @Namespace is mapped to a prefix that can be used
elsewhere...that's a good idea.
I think Jena support comes through the sesame 2 jena bindings.
Give it a try and let us know how it goes.
Taylor
> --
> You received this message because you are subscribed to the Google Groups "jenabean-dev" group.
> To post to this group, send email to jenabe...@googlegroups.com.
> To unsubscribe from this group, send email to jenabean-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jenabean-dev?hl=en.
>
>
I've seen the JPA example code in JenaBean - are you planning on
progressing it ?
Its an attractive proposition to anyone in the enterprise data world -
they get to experiment behind the interface. Try out semantic
repository, see if theres a benefit in SPARQL, inference etc, and if it
doesnt work, switch back to a JPA implementation with a traditional
RDBMS. So, its to be encouraged I think.
Here's an example:
http://is.gd/cOkAM
One area where JenaBean JPA diverges is in the configuration...instead
of the JPA standard XML, Jenabean's configuration comes from a Jena
assembler as turtle. Here is the test assembler:
http://code.google.com/p/jenabean/source/browse/trunk/jpa/src/test/resources/testassembler.n3?r=775
So when you create the entity model, you give it a shortened URI that
points to the model:
EntityManagerFactory emf = Persistence
.createEntityManagerFactory("tws:filemodel");
Henceforth "emf" is reading from /updating the model created within
the assembler.