-->
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.  [ 3 posts ] 
Author Message
 Post subject: struts with hibernate &mysql database
PostPosted: Mon Oct 15, 2007 3:15 am 
Newbie

Joined: Wed Oct 10, 2007 6:01 am
Posts: 1
Dear all,
Good Day

I have developed an application in struts,which is connecting to mysql database through Hibernate.


Now the application has deployed both in localserver&into the Remoteserver.
CASE1:
The details were added from localserver(where app running locally),but unable to fetch the same details through the application,which is running at remoteserver.

vicevarsa is also giving trouble.

CASE2:
But now the details were entered through the localapp & fetching also performed through the localapp itself,in this case able to get entered details.
Above scenario working fine even in the case of remoteapplication.

NOTE:same database using for both adding into,fetching from

Where might be the problem.
all the hibernate sessions were closed properly throughout the application.

Thanking You,
With Regards,
girinath

[/quote]

_________________
HI this is himagiri saying good day to you


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 15, 2007 4:14 am 
Expert
Expert

Joined: Tue Nov 23, 2004 7:00 pm
Posts: 570
Location: mostly Frankfurt Germany
You might check with a SQL Navigator, if your data has been written to the DB. Depending on how you get your data, this could be a cache problem.

_________________
Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 15, 2007 4:16 am 
Expert
Expert

Joined: Tue Nov 23, 2004 7:00 pm
Posts: 570
Location: mostly Frankfurt Germany
You might check with a SQL Navigator, if your data has been written to the DB. Depending on how you get your data, this could be a cache problem.

_________________
Best Regards
Sebastian
---
Training for Hibernate and Java Persistence
Tutorials for Hibernate, Spring, EJB, JSF...
eBook: Hibernate 3 - DeveloperGuide
Paper book: Hibernate 3 - Das Praxisbuch
http://www.laliluna.de


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.