Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Jul 02 19:52:46 EDT 2025

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

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

Back to the top