-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Annotation Mapping Problems
PostPosted: Thu Sep 10, 2015 2:54 pm 
Newbie

Joined: Thu Sep 10, 2015 2:48 pm
Posts: 1
Hi

I am currently experiencing a problem where a call to retrieve a menu structure from my database and render as json is taking too long to run (8 seconds)

On further analysis its a problem with my Hibernate annotations - i have specified the annotations to load lazily where possible but when i enable hibernate show sql - i see alot of queries running that could slow down my operations.

The data I am returning is purely text - no clobs or blobs or anything fancy so that makes it more confusing for me

If anyone has time to look at my annotations and perhaps identify the problem or provide me feedback on where I can improve - it would be much appreciated

A link to the code relevant to the problem is as follows
https://drive.google.com/folderview?id=0BxV2AtLUezzGUUptVEROZVFzQ00&usp=sharing

There is a readme file in there with some further details

Any help is greatly appreciated

Thanking you in advance

Damien


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.