We have been trying to get Hibernate to work with OSGi and PostgreSQL. We are using Eclipse to develop our application, but Eclipse is not a requirement right now. We just need to get it working. We have problems with null EntityManagers and null DataSources in our provider classes. We tried it in Blueprint, but Declarative Services is OK too (since DS is newer and better supported).