I am manually creating the JPA EntityManagerFactory in which i need to scan all packages for different bundles/jar of my applications.
emf.setPackagesToScan("com.my.test");
Since in osgi container package name will not be resolved like this, package name will be like bundlename:version:com.my.test
resulting in throwing package not found exception.Please help me to scan java packages at run time in osgi container.