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-c...
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 <steve(a)hibernate.org>
http://hibernate.org