-->
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: Newbie: Multiuser Hibernate app without business layer?
PostPosted: Sat Jun 25, 2005 11:15 am 
Beginner
Beginner

Joined: Tue Aug 26, 2003 4:19 pm
Posts: 42
Hibernate version:
Hibernate 2.1.6

Is it possible to have a mutliuser application without a central SessionFactory serving all the sessions?

I have written a Swing application using Hibernate, connecting to a MySQL database. When I have multiple clients connecting to the database, the only way to get one client to see another client's changes is to re-instantiate the SessionFactory. This happens despite the fact that I'm closing and opening the session between reads, and that I can see Hibernate issuing a select statement on the console.

I realize this isn't really Hibernate's intended usage, but is there any way to get this to work?


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.