-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Connect to database from a remote computer!
PostPosted: Sat Jun 24, 2006 5:51 am 
Newbie

Joined: Thu Apr 27, 2006 4:13 am
Posts: 7
How NHibernate Connetc to a database on another computer?
What should I do?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 24, 2006 8:00 pm 
Expert
Expert

Joined: Fri May 13, 2005 5:56 pm
Posts: 308
Location: Santa Barbara, California, USA
configure your connection string appropriately. this is an example for MSSQL2000:

Code:
<nhibernate>
   ...
   <add key="hibernate.connection.connection_string" value="Server=SERVER_NAME_OR_IPADDRESS;initial catalog=MyDatabase;UID=webuser;PWD=password;Min Pool Size=n" />
</nhibernate>


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.