-->
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: Hibernate with MySQL in JBOSS
PostPosted: Thu Jan 20, 2005 10:11 am 
Newbie

Joined: Thu Jan 20, 2005 6:32 am
Posts: 1
We are using hibernate in our project along with struts1.1 and is deployed in JBOSS3.2.5 AppServer.

My project has two applications deployed in the jboss which connect to the same database. The two deployed application communicate with each other each having its own SessionFactory . My problem is the modifications made by one application was not visible to the other. The database instance of the second application is not getting refreshed and has the same state as when it is deployed. This situation is when I was using InnoDB storage engine Of MySql.

Using MyIsam storage engine of MySQL solves the problem but it doesnt support Transactions.

Is this the problem with MySql or Hibernate? My project worked fine when I used PostGresql. Also please give me information about how ?Hibernate works with Multiple SessionFactory.

Please help me in this.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 20, 2005 10:33 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You have to learn a lot about Transaction Isolation (I hope you use transaction management through either CMT or the Hibernate transaction API - see http://www.hibernate.org/245.html) and cache management - nothing that can be answered quickly here ... read up and experiment ...


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.