[hibernate-dev] Broken ManagedProviderConnectionHelper

Steve Ebersole steve at hibernate.org
Thu Jun 2 11:29:59 EDT 2011


Not sure there is much we can do right now.  Yes that form of doing 
SchemaExport, et al will go away.  So by the time we would get this 
fixed it would be for Beta1 anyway.

You are obviously using SchemaExport directly (as Hibernate itself uses 
the new ServiceRegistry ctor form).  So I would suggest that you use the 
ctor form that takes an explicit ConnectionHelper in the interim.


On 06/02/2011 03:40 AM, Dmitry Geraskov wrote:
> Hi, Steve,
>
> I just looked in ManagedProviderConnectionHelper which is used in
> SchemaExport, SchemaUpdate, SchemaValidator and it is broken.
>
> It is never creates a connection, and this make impossible to run
> SchemaExport, SchemaUpdate, SchemaValidator configured by cfg.
>
> I guess the class is going to be removed, but it is bad it is broken in
> the "transitional" preriod.
>
> Dmitry

-- 
Steve Ebersole <steve at hibernate.org>
http://hibernate.org



More information about the hibernate-dev mailing list