Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Connect with MS-SQL "lock"
Connect with MS-SQL "lock" [message #892788] Fri, 29 June 2012 16:41 Go to next message
Alan Cândido is currently offline Alan CândidoFriend
Messages: 4
Registered: November 2011
Junior Member
Hi

I'm using EclipseLink with MS-SQL Server 2005.
I made the driver configuration and test connection is ok.
When starting an EntityManager, the eclipse is lock. Debugging, I found that called metaData.getUserNamee (), performed in DatabaseAccessos.buildConnectLog, is seeking input from the database. On the monitor database, the process is to "AWAITING_COMMAND" if I kill the process, the eclipse is released.

Thanks for any information about.

PS: Sorry my bad english
Re: Connect with MS-SQL "lock" [message #892805 is a reply to message #892788] Fri, 29 June 2012 18:32 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1266
Registered: July 2009
Senior Member
Do you get the same issue if you call getMetaData.getUserName() on the JDBC connection - try obtaining the connection from the DriverManager or datasource pool directly. What EclipseLink database config settings are you using, and how are you verifying that the connection is ok?

You might want to try different database drivers and see if there are more recent ones available that might resolve the issue.

Best Regards,
Chris
Previous Topic:How to prevent EL from creating Reference ReadAllQuery
Next Topic:not retrieving entity when an attribute of it has value 0.0
Goto Forum:
  


Current Time: Mon Sep 25 11:51:42 GMT 2017

Powered by FUDForum. Page generated in 0.04882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software