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

  • SEARCH
  • Home
  • 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 6579323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:53:02+00:00 2026-05-25T15:53:02+00:00

All, We have 300 entity classes that was generated from existing DB schema for

  • 0

All,
We have 300 entity classes that was generated from existing DB schema for a J2EE web application.
We are facing performance issues in one of the application sections and wanted to know if:

  1. It’s possible to tune/optimize the current mappings (@ManyToOne,
    @OneToMany) relationsships to make the runtime less heavy? If so, how
    and what would be a starting point.
  2. Is there a tool(s) that mark out the improvements in such entity
    classes?
  3. Will such improvements/changes impact the DB structure. We would
    like to keep the DB structure impact?

Please note that the application is not in production yet. We do not want/avoid to change the current DB structure.

System info:
Windows XP
IBM Websphere AS 7.0.0.15
RAD 7.5
Hibernate 3.3
Spring 3

  • 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-05-25T15:53:02+00:00Added an answer on May 25, 2026 at 3:53 pm

    It’s possible to tune/optimize the current mappings (@ManyToOne,
    @OneToMany) relationsships to make the runtime less heavy? If so, how
    and what would be a starting point.

    Yes, to start with investigating lazy loading of relationships and fetch groups so that you are not pulling your whole object graph back from the db, but rather just the objects & fields you need.

    Is there a tool(s) that mark out the improvements in such entity
    classes?

    None that I know of. You really have to be aware of your domain and how your application is using it.

    Will such improvements/changes impact the DB structure. We would like
    to keep the DB structure impact?

    Changing how hibernate fetches your objects should not alter your structure in your database at all.

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

Sidebar

Related Questions

All, is it possible to specify that the entity classes mentioned in persistence.xml be
I have a bunch of projects in parallel subdirectories that all have etc/lighttpd.conf files.
I have a MFC dialog with 32 CComboBoxes on it that all have the
So I have a form with lots of controls that all have a tab
I have many emails coming in from different sources. they all have attachments, many
Happy New Year. I have a bunch of SOAP Web Services. They all have
I have an application that I know would make a great cube and would
I'm sure we all have received the wonderfully vague Object reference not set to
I have created a bunch of movie clips which all have similar names and
My Situation I have a N rectangles The rectangles all have the same shape

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.