-->
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.  [ 2 posts ] 
Author Message
 Post subject: modyfying DB manually causes a problem?
PostPosted: Fri Jul 20, 2007 5:45 pm 
Newbie

Joined: Fri Jul 20, 2007 5:28 pm
Posts: 2
hi,

Can manul changes to DB that is used by application through hibernate cause some problems?

I'm using Hibernate3 in web services application deployed at SJS AS 9,
datebase is MySql 4.2,

application is woking properly (certain hibernate query returns proper object), then I modify somehow dabebase externally (query browser) and then the same hibernate query returns null but requested object still is in database,

after this, when I redeploy application (without touching DB) everything is ok back, the requested object is returned properly

what's happening?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 15, 2007 9:04 am 
Newbie

Joined: Fri Jul 20, 2007 5:28 pm
Posts: 2
problem solved, it was connected with usage of ThreadLocal for session that probably caused this problem in AS environment


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.