-->
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.  [ 1 post ] 
Author Message
 Post subject: Connecting Middlegen with SQL server 2008 R2
PostPosted: Wed Dec 03, 2014 5:34 pm 
Newbie

Joined: Wed Dec 03, 2014 5:27 pm
Posts: 1
Hi,

I am a newbie in hibernate and I am trying to connect with SQL server 2008 R2 with WINDOWS AUTHENTICATION.

Below are the property entries in build.xml

<property name="database.driver.file" value="C://Middlegen-Hibernate-r5/lib/sqljdbc4-3.0.jar"/>
<property name="database.driver.classpath" value="${database.driver.file}"/>
<property name="database.driver" value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/>
<property name="database.url" value="jdbc:sqlserver://<hostname>:1433;DatabaseName=QA1"/>
<property name="database.userid" value="9shar"/>
<property name="database.schema" value="LDF"/>
<property name="database.catalog" value="QA1"/>

The build fails saying
middlegen.MiddlegenException: Couldn't connect to database: Login failed for user '9shar'.

Note : I am doing this in VPN.

Please help

Thanks,
Ravi


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

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.