On 06/01/2011 04:34 AM, Dmitry Geraskov wrote: > You mean I can't close ConnectionProvider using alpha3?
Cast the proxy as org.hibernate.service.internal.ServiceProxy and use its getTargetInstance() method. https://github.com/hibernate/hibernate-core/blob/4.0.0.Alpha3/hibernate-core/src/main/java/org/hibernate/service/internal/ServiceProxy.java > And I expected I could get any interface which actual wrapped object > implements (actual connection provider instance in my case) by calling > Wrappable#unwrap(), > if I was mistaken what for this method? Why do you think wrapping is the same as implementing? > Where should I look in git, there are many sources? No idea what you mean by "many sources". https://github.com/hibernate/hibernate-core -- Steve Ebersole <st...@hibernate.org> http://hibernate.org _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev