Skip to main content

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

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: 1376
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,
Previous Topic:Persistence Error - Unable to find solution
Next Topic:Fetching entities with their lazy Lob fields using a query?
Goto Forum:

Current Time: Sat Jan 16 15:56:13 GMT 2021

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

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

Back to the top