Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7723755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:31:18+00:00 2026-06-01T04:31:18+00:00

I am creating a webapp with EclipseLink for the persistence layer, and I have

  • 0

I am creating a webapp with EclipseLink for the persistence layer, and I have a DAO that is hanging when I attempt to load an object.

The application/code has previously worked when loaded in to other machines/IDEs, but I have just loaded it into Eclipse Indigo on a Windows 7 machine and this error has started occuring (there are no compile errors/warnings in the code etc, and the app builds/starts fine).

The DAO method is as follows:

public Account loadAccountByUserName(String userName)
{
        Query query = getEntityManager().createQuery("select u from Account u where u.userName = :userName")
                .setParameter("userName", userName);

        return (Account) query.getSingleResult();

Now I have debugged the code, and walked through it, and once I execute the createQuery(..) line it just hangs. There are no errors, nothing logged, it just hangs (apparently indefinitely).

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:31:19+00:00Added an answer on June 1, 2026 at 4:31 am

    Wow, Ok. It was just straight up slow..

    Its running SpringMVC/EclipseLink app on Eclipse Indigo on a pretty new Win7 machine, connecting to a DB2 local database and it takes about 15minutes to make the first connection (following loads of data seem a lot quicker) – it just seems to be about making the connection too, as its just a user look up, and there isnt much user data in the tables.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been busy in my project creating a webapp (in struts) that manages
I've been creating a checklist webapp using JQuery, and so far it has been
I am new to GAE and I am creating an application with the webapp
My Spring-3.0.5/Hibernate-3.3.0 webapp does not store collections. When creating a new persitent object with
I am creating a webapp on facebook that allows users to provide login details
I have a Java webapp creating a pdf and streaming it back to the
I am creating a webapp that relies on following a status timeline from twitter
I have a pretty big webapp that's being built in MVC. I'm also abstracting
I have a webapp that needs to sometimes download some bytes from a url
I'm creating a webapp where upon connecting to my server, you will have one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.