Hi Marco, to be honest, from what I experienced the spring-hibernate jars don't really work :(
what I have done before is to wrap up a bundle containing all the required hibernate jars and exporting all needed classes. The DAO-Classes needed a special handling. We did a aop wrapping around setting the Thread.contextClassloader to the bundle classloader. With that it did run more smoothly :) I think there is a blog of Peter Kriens about this. Another thing would be to use OpenJPA as provider, that should work out better :) Regards, Achim 2011/2/11 Marco Firrincieli <marco.firrinci...@lbigroup.it>: > Hi all, > > i've only started "now" working on making a legacy application deployable on > karaf. > Right now I'm fighting de-coupling a few things, and I've come to find a > strong dependency with hibernate. > > Googling around couldn't really come up with the correct "way to do", so > that's why I'm asking. > > I found out that spring sort or releases the bundle for hibernate > (com.springsource.org.hibernate) but when I deploy it on karaf, it still says > I miss so many other stuff. > > Any "easy" way to have it all without looking for every little dependencies > here and there? > > Thanks > > -m >