I am trying to figure out an example of JPA
(containing an example of Student Entity, with name and class) using Eclipselink & Derby
. I am able to do it in Java EE but I can't figure out a way to do it simply in OSGi
using Declarative Services
.
Can anyone share some info on any such examples which uses JPA with OSGi DS
?
Some of the examples I have gone through are here, but these examples use getReference
or getTracker
however I don't want to use them.
Thank you.