maybe you have something like hbm2ddl auto...?

2010/4/21 Niclas Pehrsson <[email protected]>

> Well it will throw exception if the database does not exist.
>
> On Apr 14, 3:36 pm, Jason Dentler <[email protected]> wrote:
> > Is it looking to see that you *have* a connection string, or is it
> actually
> > connecting?
> >
> > On Wed, Apr 14, 2010 at 6:47 AM, Niclas Pehrsson <[email protected]>
> wrote:
> > > Maybe it isn't possible? :(
> >
> > > On Apr 13, 4:17 pm, Niclas Pehrsson <[email protected]> wrote:
> > > > Yeah I have overridden the connection provider but when I call
> > > > configuration.BuildSessionFactory() it whats to test the
> > > > connectionstring and I don't have the connectionstring just then so I
> > > > want to turn that action off.
> >
> > > > On Apr 13, 11:40 am, Jason Dentler <[email protected]> wrote:
> >
> > > > > I'm not quite sure what you mean when you say the session factory
> is
> > > testing
> > > > > the value.
> >
> > > > > Maybe you should use a custom connection provider:
> > >http://jasondentler.com/blog/2009/11/authentication-impersonation-and.
> ..
> >
> > > > > <
> > >http://jasondentler.com/blog/2009/11/authentication-impersonation-and..
> .>
> >
> > > > > On Tue, Apr 13, 2010 at 4:24 AM, Niclas Pehrsson <
> [email protected]>
> > > wrote:
> > > > > > The ConnectionString in my solution are dynamically so I can't
> set
> > > the
> > > > > > connectionstring when building the sessionfactory. But I can set
> a
> > > > > > dummy value, but the SessionFactory are testing the connection
> can I
> > > > > > turn it off?
> >
> > > > > > --
> > > > > > You received this message because you are subscribed to the
> Google
> > > Groups
> > > > > > "nhusers" group.
> > > > > > To post to this group, send email to [email protected].
> > > > > > To unsubscribe from this group, send email to
> > > > > > [email protected]<nhusers%[email protected]>
> <nhusers%[email protected]<nhusers%[email protected]>
> >
> > > <nhusers%[email protected]<nhusers%[email protected]>
> <nhusers%[email protected]<nhusers%[email protected]>
> >
> >
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/nhusers?hl=en.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "nhusers" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<nhusers%[email protected]>
> <nhusers%[email protected]<nhusers%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/nhusers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to