-->
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: Converting JSF-Web-App with JDBC Connections to Hibernate
PostPosted: Fri Apr 25, 2008 7:29 pm 
Newbie

Joined: Fri Apr 25, 2008 6:51 pm
Posts: 1
Hello,

I am new to Hibernate and I have to convert a JSF Application, which uses JDBC Connections for each database user, to Hibernate.

My problem is, that users are stored in the database as login roles. At the moment the application creates for every user a JDBC-Connection, which is stored in the DAO object. The DAO object is saved in the currrent user session.

As a result I need some basic ideas, how i can define multiple user connections with hibernate.

Can anyone help me?

thank you,
Sebastian



Hibernate version: 3.1


Name and version of the database you are using: PostgreSQL 8.2


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.