-->
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: Hibernate GenericException
PostPosted: Tue Nov 03, 2009 4:36 pm 
Newbie

Joined: Tue Nov 03, 2009 2:23 pm
Posts: 2
This is my connection String..
<property name="hibernate.connection.url">jdbc:sqlserver://SQLSERVERNAME:1433;databaseName=AdventureWorksLT2008;"SystemNAme\Tina";"passwordpassword"</property>

and SQL Server log in credentials are mapped to Windows..Does Integerated Security work in JAVA..
apparantly i get
errororg.hibernate.exception.GenericJDBCException: Cannot open connection


Top
 Profile  
 
 Post subject: Re: Hibernate GenericException
PostPosted: Wed Nov 04, 2009 8:38 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
Is there a question anywhere in your post? :-P

Try to use
Code:
<property name="hibernate.connection.username">yourUser</property>
<property name="hibernate.connection.password">yourPass</property>

_________________
-----------------
Need advanced help? http://www.viada.eu


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.