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 12:41 Go to next message
Alan Cândido is currently offline Alan Cândido
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 14:32 Go to previous message
Chris Delahunt is currently offline Chris Delahunt
Messages: 1017
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:Persistence Error - Unable to find solution
Next Topic:Fetching entities with their lazy Lob fields using a query?
Goto Forum:
  


Current Time: Thu Aug 21 12:17:14 EDT 2014

Powered by FUDForum. Page generated in 0.04097 seconds